InboxAdapter
Adapter contract for customising the Recycler View adapter. Extend the class and use MoEInboxUiHelper.setInboxAdapter
Author
Arshiya Khanum
Since
1.0.00
Constructors
InboxAdapter
Link copied to clipboard
Functions
getItemId
Link copied to clipboard
Called when RecyclerView.Adapter.getItemId is invoked by the actual adapter.
getItemViewType
Link copied to clipboard
abstract fun getItemViewType(position: Int, inboxMessage: InboxMessage): Int
Content 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, inboxMessage: InboxMessage, inboxListAdapter: InboxListAdapter)
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
DefaultInboxAdapter
Link copied to clipboard