StickerCollectionAdapter

class StickerCollectionAdapter(stickerPacks: List<StickerPack>, val chatRoomId: String, emptyRecentTextColor: Int = R.color.livelike_sticker_recent_empty_text_color, onClickCallback: (Sticker) -> Unit) : RecyclerView.Adapter<StickerCollectionViewHolder>

Constructors

Link copied to clipboard
constructor(stickerPacks: List<StickerPack>, chatRoomId: String, emptyRecentTextColor: Int = R.color.livelike_sticker_recent_empty_text_color, onClickCallback: (Sticker) -> Unit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val itemCount: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getItemCount(): Int
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: StickerCollectionViewHolder, position: Int, @NonNull payloads: List<Any?>)
open override fun onBindViewHolder(viewHolder: StickerCollectionViewHolder, index: Int)
Link copied to clipboard
open override fun onCreateViewHolder(viewGroup: ViewGroup, index: Int): StickerCollectionViewHolder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHasStableIds(hasStableIds: Boolean)