InboxListAdapter

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

Actual Adapter attached attached to the RecyclerView extends RecyclerView.Adapter

Author

Arshiya Khanum

Since

1.0.00

Constructors

Link copied to clipboard
constructor(context: Context, sdkInstance: SdkInstance, inboxAdapter: InboxAdapter)

Properties

Link copied to clipboard
open override val itemCount: Int
Link copied to clipboard
@get:NonNull
override var stateRestorationPolicy: RecyclerView.Adapter.StateRestorationPolicy

Functions

Link copied to clipboard
fun bindViewHolder(@NonNull holder: ViewHolder, position: Int)
Link copied to clipboard
@NonNull
fun createViewHolder(@NonNull parent: ViewGroup, viewType: Int): ViewHolder
Link copied to clipboard
fun deleteItem(position: Int, inboxMessage: InboxMessage)
Link copied to clipboard
open fun findRelativeAdapterPositionIn(@NonNull adapter: RecyclerView.Adapter<out RecyclerView.ViewHolder?>, @NonNull viewHolder: RecyclerView.ViewHolder, localPosition: Int): Int
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open override fun getItemId(position: Int): Long
Link copied to clipboard
open override fun getItemViewType(position: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun notifyItemChanged(position: Int)
fun notifyItemChanged(position: Int, @Nullable payload: Any?)
Link copied to clipboard
fun notifyItemInserted(position: Int)
Link copied to clipboard
fun notifyItemMoved(fromPosition: Int, toPosition: Int)
Link copied to clipboard
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int)
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int, @Nullable payload: Any?)
Link copied to clipboard
fun notifyItemRangeInserted(positionStart: Int, itemCount: Int)
Link copied to clipboard
fun notifyItemRangeRemoved(positionStart: Int, itemCount: Int)
Link copied to clipboard
fun notifyItemRemoved(position: Int)
Link copied to clipboard
open fun onAttachedToRecyclerView(@NonNull recyclerView: RecyclerView)
Link copied to clipboard
open fun onBindViewHolder(@NonNull holder: ViewHolder, position: Int, @NonNull payloads: List<Any?>)
open override fun onBindViewHolder(holder: ViewHolder, position: Int)
Link copied to clipboard
open override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder
Link copied to clipboard
open fun onDetachedFromRecyclerView(@NonNull recyclerView: RecyclerView)
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull holder: ViewHolder): Boolean
Link copied to clipboard
fun onItemClicked(position: Int, inboxMessage: InboxMessage)
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull holder: ViewHolder)
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull holder: ViewHolder)
Link copied to clipboard
open fun onViewRecycled(@NonNull holder: ViewHolder)
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull observer: RecyclerView.AdapterDataObserver)
Link copied to clipboard
open fun setHasStableIds(hasStableIds: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull observer: RecyclerView.AdapterDataObserver)