StickerAdapter

StickerAdapter

class StickerAdapter

Constructors

<init>

constructor(onClick: (Sticker)->Unit)

Parameters

Name Description
onClick: (Sticker)->Unit

Methods

onCreateViewHolder

fun onCreateViewHolder(parent: ViewGroup, viewType: Int): StickerViewHolder

Parameters

Name Description
parent: ViewGroup
viewType: Int

ReturnValue

Name Description
StickerViewHolder

onBindViewHolder

fun onBindViewHolder(holder: StickerViewHolder, position: Int)

Parameters

Name Description
holder: StickerViewHolder
position: Int

ReturnValue

Name Description
Unit