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 As Android.Views.ViewGroup, _
ByVal 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 ,
int
)
Parameters
- parent
- viewType
See Also