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

Clear list of messages #86

Closed
takamoto-masahiro opened this issue Dec 4, 2017 · 3 comments · Fixed by #94
Closed

Clear list of messages #86

takamoto-masahiro opened this issue Dec 4, 2017 · 3 comments · Fixed by #94

Comments

@takamoto-masahiro
Copy link

Hello.
Thanks for a great library.

Until version 1.4.1, I cleared it by calling MessageView 's init method.

It seems that it will not be cleared in later versions, so I'm very happy to have a method to clear the list of messages.

@bassaer
Copy link
Owner

bassaer commented Dec 4, 2017

@takamoto-masahiro
Thanks for the information!
Let me check.

@matrenitski
Copy link

matrenitski commented Dec 14, 2017

Yup, same problem. When switching between users, calling
chatView.getMessageView().init();
does not delete messages.

I think we could
parentLayout.removeView(chatView);
and then recreate the ChatView programmatically, but may be there is other way?

@bassaer
Copy link
Owner

bassaer commented Dec 17, 2017

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

Successfully merging a pull request may close this issue.

3 participants