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

New message always added to the top with addToStart and addToEnd #282

Closed
hamamd-et opened this issue Aug 6, 2019 · 3 comments
Closed

New message always added to the top with addToStart and addToEnd #282

hamamd-et opened this issue Aug 6, 2019 · 3 comments

Comments

@hamamd-et
Copy link

hamamd-et commented Aug 6, 2019

I have been struggling with this issue for the last 2 days. No matter what function i use addToStart or addToEnd, my new message is always added to the top.

       messagesAdapter.addToEnd(
            listOf(
                MessageWrapper(message)
            ),
            false
        )

        messagesAdapter.addToStart(MessageWrapper(message), true)

I tried both true and false with the addToEnd but still no change. I am doing this in kotlin. MessageWrapper is the class implementing the IMessage interface.

Can any one please help in this regard.

@hamamd-et
Copy link
Author

It was logically error on my end. Its working fine :)

Great lib, thanks

@bipinvaylu
Copy link

It was logically error on my end. Its working fine :)

Great lib, thanks

Hey @hamamd-et I am facing same issue, Can you please let me know what was your logic error? I might figure out mine one. Thanks.

@bipinvaylu
Copy link

@hamamd-et After inspective their code and document, I believe I am following their integration document properly. So i created new issue here, Can you please provide your feedback on this: #352

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