nguyenhuy/AsyncMessagesViewController

Avatar image tap event

Opened this issue · 1 comments

Would you create an avatar image event delegate or callback? Or is there any easy way you suggest to add a listener to avatar images?

@ebsaral: Thanks for creating the very first issue 👍 and I'm sorry for this late response, I somehow missed the notification email.

I'm not sure what type of event you are in need of, so I'm assuming you are talking about touch events.

Ideally, MessageCellNode should support a delegate with various methods, including tap on avatar, tap on bubble, etc. I haven't implemented it yet, but it is definitely high in my todo list. Any help on this is very welcome.

For the time being, I guess the easiest way is to add touch handling directly to the avatar image node. Some useful methods can be found here.