InboxListAdapter

class InboxListAdapter(context: Context, inboxAdapter: InboxAdapter) : RecyclerView.Adapter<ViewHolder>

Actual Adapter attached attached to the RecyclerView extends RecyclerView.Adapter

Author

Arshiya Khanum

Since

1.0.00

Constructors

InboxListAdapter
Link copied to clipboard
fun InboxListAdapter(context: Context, inboxAdapter: InboxAdapter)

Functions

bindViewHolder
Link copied to clipboard
fun bindViewHolder(@NonNull p0: ViewHolder, p1: Int)
createViewHolder
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): ViewHolder
deleteItem
Link copied to clipboard
fun deleteItem(position: Int, inboxMessage: InboxMessage)
getItemCount
Link copied to clipboard
open override fun getItemCount(): Int
getItemId
Link copied to clipboard
open override fun getItemId(position: Int): Long
getItemViewType
Link copied to clipboard
open override fun getItemViewType(position: Int): Int
hasObservers
Link copied to clipboard
fun hasObservers(): Boolean
hasStableIds
Link copied to clipboard
fun hasStableIds(): Boolean
notifyDataSetChanged
Link copied to clipboard
fun notifyDataSetChanged()
notifyItemChanged
Link copied to clipboard
fun notifyItemChanged(p0: Int)
fun notifyItemChanged(p0: Int, @Nullable p1: Any?)
notifyItemInserted
Link copied to clipboard
fun notifyItemInserted(p0: Int)
notifyItemMoved
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
notifyItemRangeChanged
Link copied to clipboard
fun notifyItemRangeChanged(p0: Int, p1: Int)
fun notifyItemRangeChanged(p0: Int, p1: Int, @Nullable p2: Any?)
notifyItemRangeInserted
Link copied to clipboard
fun notifyItemRangeInserted(p0: Int, p1: Int)
notifyItemRangeRemoved
Link copied to clipboard
fun notifyItemRangeRemoved(p0: Int, p1: Int)
notifyItemRemoved
Link copied to clipboard
fun notifyItemRemoved(p0: Int)
onAttachedToRecyclerView
Link copied to clipboard
open fun onAttachedToRecyclerView(@NonNull p0: RecyclerView)
onBindViewHolder
Link copied to clipboard
open override fun onBindViewHolder(holder: ViewHolder, position: Int)
open fun onBindViewHolder(@NonNull p0: ViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
onCreateViewHolder
Link copied to clipboard
open override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder
onDetachedFromRecyclerView
Link copied to clipboard
open fun onDetachedFromRecyclerView(@NonNull p0: RecyclerView)
onFailedToRecycleView
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: ViewHolder): Boolean
onItemClicked
Link copied to clipboard
fun onItemClicked(position: Int, inboxMessage: InboxMessage)
onViewAttachedToWindow
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull p0: ViewHolder)
onViewDetachedFromWindow
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull p0: ViewHolder)
onViewRecycled
Link copied to clipboard
open fun onViewRecycled(@NonNull p0: ViewHolder)
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
setHasStableIds
Link copied to clipboard
open fun setHasStableIds(p0: Boolean)
setInboxList
Link copied to clipboard
fun setInboxList(inboxMessageList: MutableList<InboxMessage>)
unregisterAdapterDataObserver
Link copied to clipboard