-
Notifications
You must be signed in to change notification settings - Fork 811
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
Chat Layout #28
Comments
How about reversing your messages array? AFAIK the messages layout doesn't apply any kind of sorting to the messages it receives, thus you should be totally able to reverse your messages array to make it look the way you want. |
You are not gonna be able to do it, not without forking your own copy of this repo and changing this line. LinearLayoutManager has the following constructor: |
I made a PR to close this issue. You can check the solution here: #31 |
Thanks for your replies @mradzinski ! Best regards, Alexander. |
I was facing the same issue since yesterday where the dialogs in my dialogList were appearing from bottom. Thanks to this issue raised by @uaeuae , I finally got it working the desired way by overriding default reverse mode to Cheers! :) |
Is there a way to do this that doesn't also reverse the date rows? |
@troy379 In adapter reverseLayout = True and when adding messages to list with addToEnd reverse = True. Is there any option when there isn't enough messages to fill the screen that messages doesn't have padding from top? |
Currently when I use the library, the chat appears starts from bottom to top. Could anyone help me in re configuring the chat layout to start from top to bottom like whatsapp?
The text was updated successfully, but these errors were encountered: