Class InfoCardBinder<Query>
java.lang.Object
com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicRecyclerViewBinder<VH>
com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicDataBinder<T,VH>
com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicQueryBinder<DynamicInfo,Query,InfoBinder.ViewHolder>
com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.InfoBinder<Query>
com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.InfoCardBinder<Query>
- Type Parameters:
Query
- The type of the query this binder will receive.
An
InfoBinder
to bind the DynamicInfo
inside a
CardView
that can be used with the DynamicBinderAdapter
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.InfoBinder
InfoBinder.ViewHolder
-
Constructor Summary
ConstructorDescriptionInfoCardBinder
(DynamicBinderAdapter<?> binderAdapter) Constructor to initialize an object of this class. -
Method Summary
Modifier and TypeMethodDescriptiononCreateViewHolder
(ViewGroup parent, int viewType) Get theRecyclerView.ViewHolder
for this data binder.Methods inherited from class com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.InfoBinder
onBindViewHolder
Methods inherited from class com.pranavpandey.android.dynamic.support.recyclerview.binder.DynamicQueryBinder
getHighlightColor, getQuery, initHighlightColor, setData, setHighlightColor, setQuery
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
Description copied from class:DynamicRecyclerViewBinder
Get theRecyclerView.ViewHolder
for this data binder.- Overrides:
onCreateViewHolder
in classInfoBinder<Query>
- 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.
-