Xamarin.Android | ComponentOne
C1.Android.Gauge Assembly / C1.Android.Gauge Namespace / C1LinearGauge Class / AddOnAttachStateChangeListener Method


In This Topic
    AddOnAttachStateChangeListener Method (C1LinearGauge)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("addOnAttachStateChangeListener", 
       "(Landroid/view/View$OnAttachStateChangeListener;)V", 
       "GetAddOnAttachStateChangeListener_Landroid_view_View_OnAttachStateChangeListener_Handler", 
       ApiSince=12)>
    Public Overridable Sub AddOnAttachStateChangeListener( _
       ByVal listener As Android.Views.View.IOnAttachStateChangeListener _
    ) 
    'Usage
     
    
    Dim instance As C1LinearGauge
    Dim listener As Android.Views.View.IOnAttachStateChangeListener
     
    instance.AddOnAttachStateChangeListener(listener)
    [Android.Runtime.Register("addOnAttachStateChangeListener", 
       "(Landroid/view/View$OnAttachStateChangeListener;)V", 
       "GetAddOnAttachStateChangeListener_Landroid_view_View_OnAttachStateChangeListener_Handler", 
       ApiSince=12)]
    public virtual void AddOnAttachStateChangeListener( 
       Android.Views.View.IOnAttachStateChangeListener listener
    )

    Parameters

    listener
    See Also