timigod / android-chat-ui

A messages UI library for Android
Apache License 2.0
240 stars 102 forks source link

Send Event #19

Open osinakayah opened 6 years ago

osinakayah commented 6 years ago

When the send button is clicked and i add the message to the chatview, it gets displayed twice

MichaelObi commented 6 years ago

Hi @osinakayah, I've not been able to reproduce this issue. Do you have any other details that may help?

jkbehnam commented 5 years ago

When the send button is clicked and i add the message to the chatview, it gets displayed twice

chatView.setOnSentMessageListener(new ChatView.OnSentMessageListener() { @override public boolean sendMessage(ChatMessage chatMessage) { return false; } }); ////set return false

rihardi354 commented 4 years ago

if we set false the input text it's not automaticly clear