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

Group messages for same user #129

Open
jordanfitnext opened this issue Feb 2, 2018 · 6 comments
Open

Group messages for same user #129

jordanfitnext opened this issue Feb 2, 2018 · 6 comments

Comments

@jordanfitnext
Copy link

jordanfitnext commented Feb 2, 2018

Has anyone found a way to group messages (change background layout) and have only one avatar like the Google's Messages app?

Like that :
screenshot_20180202-170229

@bevzaanton
Copy link
Contributor

Sorry @jordanfitnext I can't understand what you want to do. What "Google's Messages app" do you mean?

@Qheb
Copy link

Qheb commented Jul 13, 2018

@bevzaanton I think he means that, when several messages are from the same author, it would be nice to be able to display the user avatar only once, and to group the message bubbles together, like the two last messages of his drawing.
About the messaging apps implementing this behavior, I can think about Hangout, Facebook Messenger, Telegram, Whatsapp.

It would indeed be great to have this feature in ChatKit :)

@Deeptimay
Copy link

Hi, Can i display sender name in group chat instead of only image. How can i change the chat bubble layout.
Thanks in adv.

@sameerjj
Copy link

FYI there is a PR for this functionality, although the code uses recursion so not sure if it's any good
#271
also, there is an unused method in the library isPreviousSameAuthor() that could perhaps be of value

@fukemy
Copy link

fukemy commented Nov 24, 2020

@sameerjj i think that is bad because method "isPreviousSameAuthor" need to access data list, but u need to call this function in holder class, where u can not access to data list, or u need to push instance of data list into this

@Hatzen
Copy link

Hatzen commented Aug 12, 2023

Duplicated issues #231

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

7 participants