DefaultInboxAdapter

class DefaultInboxAdapter : InboxAdapter

Default inbox adapter class.

Author

Arshiya Khanum

Since

1.0.00

Constructors

DefaultInboxAdapter
Link copied to clipboard
fun DefaultInboxAdapter()

Functions

getItemId
Link copied to clipboard
open override fun getItemId(position: Int): Long

Called when RecyclerView.Adapter.getItemId is invoked by the actual adapter.

getItemViewType
Link copied to clipboard
open override fun getItemViewType(position: Int, inboxMessage: InboxMessage): Int

Called when RecyclerView.Adapter.getItemViewType is invoked by the actual adapter.

onBindViewHolder
Link copied to clipboard
open override fun onBindViewHolder(viewHolder: ViewHolder, position: Int, inboxMessage: InboxMessage, inboxListAdapter: InboxListAdapter)

Called when RecyclerView.Adapter.onBindViewHolder is invoked by the actual adapter.

onCreateViewHolder
Link copied to clipboard
open override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder

Called when RecyclerView.Adapter.onCreateViewHolder is invoked by the the actual adapter.