Class ItemBinder.ViewHolder
java.lang.Object
androidx.recyclerview.widget.RecyclerView.ViewHolder
com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.ItemBinder.ViewHolder
- Enclosing class:
- ItemBinder
View holder to hold the dynamic item view layout.
-
Field Summary
Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder
itemView
-
Constructor Summary
ConstructorDescriptionViewHolder
(View view, int itemViewId) Constructor to initialize views from the supplied layout. -
Method Summary
Modifier and TypeMethodDescriptionGet the dynamic item view for this view holder.Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
-
Constructor Details
-
ViewHolder
Constructor to initialize views from the supplied layout.- Parameters:
view
- The view for this view holder.itemViewId
- The item view id to be used.
-
-
Method Details
-
getDynamicItemView
Get the dynamic item view for this view holder.- Returns:
- The dynamic item view for this view holder.
-