Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avatar image tap event #1

Open
ebsaral opened this issue Jun 2, 2015 · 1 comment
Open

Avatar image tap event #1

ebsaral opened this issue Jun 2, 2015 · 1 comment

Comments

@ebsaral
Copy link

ebsaral commented Jun 2, 2015

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?

@nguyenhuy
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants