StickerAdapter

class StickerAdapter(onClick: (Sticker) -> Unit) : ListAdapter<Sticker, StickerAdapter.StickerViewHolder>

Constructors

Link copied to clipboard
constructor(onClick: (Sticker) -> Unit)

Types

Link copied to clipboard
class StickerViewHolder(binding: ERROR CLASS: Symbol not found for LivelikeStickerKeyboardItemBinding) : RecyclerView.ViewHolder

Properties

Link copied to clipboard
@get:NonNull
open override val currentList: List<Sticker?>
Link copied to clipboard
open override val itemCount: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCurrentList(): List<Sticker?>
Link copied to clipboard
protected open fun getItem(position: Int): Sticker?
Link copied to clipboard
open fun getItemId(position: Int): Long
Link copied to clipboard
open 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
Link copied to clipboard
open fun onBindViewHolder(@NonNull holder: StickerAdapter.StickerViewHolder, position: Int, @NonNull payloads: List<Any?>)
open override fun onBindViewHolder(holder: StickerAdapter.StickerViewHolder, position: Int)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): StickerAdapter.StickerViewHolder
Link copied to clipboard
open fun onCurrentListChanged(@NonNull previousList: List<Sticker?>, @NonNull currentList: List<Sticker?>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHasStableIds(hasStableIds: Boolean)
Link copied to clipboard
open fun submitList(@Nullable list: List<Sticker?>??)
open fun submitList(@Nullable list: List<Sticker?>??, @Nullable commitCallback: Runnable?)