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

Number of messages in thread #4

Open
agatap2 opened this issue Nov 18, 2021 · 4 comments
Open

Number of messages in thread #4

agatap2 opened this issue Nov 18, 2021 · 4 comments

Comments

@agatap2
Copy link

agatap2 commented Nov 18, 2021

Hi. In my chat, messages may have other messages in their thread and I will display them on long clicking on the parent message. What I need is to show the number of messages in a thread on the main chat page. This could look like the number of unread messages in the chat list view, but I don't mind any simpler solution.

@agatap2
Copy link
Author

agatap2 commented Nov 18, 2021

threads

@mtangoo
Copy link

mtangoo commented Nov 19, 2021

Hi,
the library currently does not support threading beyond simple one already in your screenshot.
A PR adding such support is welcome.

@agatap2
Copy link
Author

agatap2 commented Nov 20, 2021

So it's not possible to add some extra TextView under message bubble, where I could write number off messages in thread?

@mtangoo
Copy link

mtangoo commented Nov 20, 2021

You will need to create your own ViewHolder as well as extend the XML file with your custom widgets. Take a look at the docs and scroll near the bottom where the topic is discussed: https://github.com/hosannahighertech/MessageKit/blob/master/docs/message_list.md

Also check samples. They are very helpful!

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