How to setup for using this library.
Add this to your app build.gradle
build.gradle
dependencies { compile 'com.github.bassaer:chatmessageview:x.x.x' }
There are 2 type of views.
Define it in your xml file.
<com.github.bassaer.chatmessageview.views.MessageView android:id="@+id/message_view" android:layout_width="match_parent" android:layout_height="match_parent"/>
<com.github.bassaer.chatmessageview.views.ChatView android:id="@+id/chat_view" android:layout_width="match_parent" android:layout_height="match_parent"/>
And then call from your Activity or Fragment.
MessageView messageView = (MessageView) findViewById(R.id.message_view);
ChatView chatView = (ChatView) findViewById(R.id.chat_view);
There was an error while loading. Please reload this page.