Class InfoBigBinder
java.lang.Object
com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicRecyclerViewBinder<VH>
com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicDataBinder<DynamicInfo,InfoBigBinder.ViewHolder>
com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.InfoBigBinder
- Direct Known Subclasses:
InfoBigCardBinder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
View holder to hold the dynamic info view layout. -
Constructor Summary
ConstructorDescriptionInfoBigBinder
(DynamicBinderAdapter<?> binderAdapter) Constructor to initialize an object of this class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBindViewHolder
(InfoBigBinder.ViewHolder holder, int position) BindRecyclerView.ViewHolder
at a particular position.onCreateViewHolder
(ViewGroup parent, int viewType) Get theRecyclerView.ViewHolder
for this data binder.Methods inherited from class com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicDataBinder
getData, getItemCount, setData, setData
Methods inherited from class com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicRecyclerViewBinder
getBinderAdapter, getRecyclerViewAdapter, notifyBinderDataSetChanged, notifyBinderItemChanged, notifyBinderItemInserted, notifyBinderItemMoved, notifyBinderItemRangeChanged, notifyBinderItemRangeInserted, notifyBinderItemRangeRemoved, notifyBinderItemRemoved, notifyDataSetChanged
-
Constructor Details
-
Method Details
-
onCreateViewHolder
@NonNull public InfoBigBinder.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) Description copied from class:DynamicRecyclerViewBinder
Get theRecyclerView.ViewHolder
for this data binder.- Specified by:
onCreateViewHolder
in classDynamicRecyclerViewBinder<InfoBigBinder.ViewHolder>
- Parameters:
parent
- The parent for this view holder.viewType
- The type of the view to create the view holder.- Returns:
- The view holder associated with this data binder.
-