Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / ComboBoxSimpleAdapter Class / CreateViewHolder Method


In This Topic
    CreateViewHolder Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("createViewHolder", 
       "(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder;", 
       "")>
    Public Function CreateViewHolder( _
       ByVal parent As Android.Views.ViewGroup, _
       ByVal viewType As Integer _
    ) As Java.Lang.Object
    'Usage
     
    
    Dim instance As ComboBoxSimpleAdapter
    Dim parent As Android.Views.ViewGroup
    Dim viewType As Integer
    Dim value As Java.Lang.Object
     
    value = instance.CreateViewHolder(parent, viewType)
    [Android.Runtime.Register("createViewHolder", 
       "(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder;", 
       "")]
    public Java.Lang.Object CreateViewHolder( 
       Android.Views.ViewGroup parent,
       int viewType
    )

    Parameters

    parent
    viewType
    See Also