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


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

    Parameters

    parent
    viewType
    See Also