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
incoming vs outcoming #101
Comments
Same here |
I just found how it works : |
@remy554 can you show me how to make it works ? i just want to know how to make it right or left. thank you so much. |
Ok, so it works like this - when you create your adapter you give it a tag that is used to subsequently designate a message as 'self' so that it shows up on the self side. CustomMessageListAdapter adapter = new CustomMessageListAdapter<>("SELF_TAG", imageLoader); Message mMes2 = new Message("SELF_TAG", mUser2, "message"); Message mMes1 = new Message("NOT_SELF", mUser1, "message2"); |
//0 for self message update message id if you successfully send it to server |
Glad you've figured it out! :) |
@tusharuit25 this not working for me. |
@tusharuit25 not working, only the colors change, but they stay on the same side |
//0 for self message update message id if you successfully send it to server at the place of userid inside your message model |
Ok I must be missing something in the instructions/sample.
How do you set whether a message is incoming vs outcoming before adding it to the adapter?
Thanks!
The text was updated successfully, but these errors were encountered: