Xamarin.Android | ComponentOne
C1.Android.Grid Assembly / C1.Android.Grid Namespace / GridCellsPanel Class / AddOnAttachStateChangeListener Method


In This Topic
    AddOnAttachStateChangeListener Method (GridCellsPanel)
    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 GridCellsPanel
    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