CardAdapter
Adapter contract for customising the Recycler View adapter.
Author
Umang Chamaria Date: 28/04/20
Since
10.1.00
Constructors
CardAdapter
Link copied to clipboard
Functions
getItemViewType
Link copied to clipboard
Called when RecyclerView.Adapter.getItemViewType is invoked by the actual adapter.
onBindViewHolder
Link copied to clipboard
abstract fun onBindViewHolder(viewHolder: ViewHolder, position: Int, card: Card, cardListAdapter: CardListAdapter)
Content copied to clipboard
Called when RecyclerView.Adapter.onBindViewHolder is invoked by the actual adapter.
onCreateViewHolder
Link copied to clipboard
abstract fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder
Content copied to clipboard
Called when RecyclerView.Adapter.onCreateViewHolder is invoked by the the actual adapter.
Inheritors
DefaultCardAdapter
Link copied to clipboard