Commit e9d4c98e authored by Leonardo Aramaki's avatar Leonardo Aramaki

Set click listener on parent of the emoji view

parent f2ec3bdc
......@@ -70,7 +70,7 @@ class CategoryPagerAdapter(val callback: EmojiBottomPicker.OnEmojiClickCallback)
fun bind(emoji: Emoji) {
emojiView.text = EmojiParser.parse(emoji.unicode)
emojiView.setOnClickListener {
itemView.setOnClickListener {
onEmojiClickCallback.onEmojiAdded(emoji)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment