AsyncMessagesViewController icon indicating copy to clipboard operation
AsyncMessagesViewController copied to clipboard

Avatar image tap event

Open ebsaral opened this issue 10 years ago • 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 avatar Jun 02 '15 22:06 ebsaral

@ebsaral: Thanks for creating the very first issue :+1: 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.

nguyenhuy avatar Jun 04 '15 12:06 nguyenhuy