Aracılığıyla paylaş


Toolbar.SetNavigationOnClickListener(View+IOnClickListener) Method

Definition

Set a listener to respond to navigation events.

[Android.Runtime.Register("setNavigationOnClickListener", "(Landroid/view/View$OnClickListener;)V", "GetSetNavigationOnClickListener_Landroid_view_View_OnClickListener_Handler")]
public virtual void SetNavigationOnClickListener (Android.Views.View.IOnClickListener? listener);
[<Android.Runtime.Register("setNavigationOnClickListener", "(Landroid/view/View$OnClickListener;)V", "GetSetNavigationOnClickListener_Landroid_view_View_OnClickListener_Handler")>]
abstract member SetNavigationOnClickListener : Android.Views.View.IOnClickListener -> unit
override this.SetNavigationOnClickListener : Android.Views.View.IOnClickListener -> unit

Parameters

listener
View.IOnClickListener

Listener to set

Attributes

Remarks

Java documentation for android.widget.Toolbar.setNavigationOnClickListener(android.view.OnClickListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also