Start a Basic Chat
Let’s take this tutorial even further by building a simple chat UI and using Mitter.io to send/receive messages.
Build the basic layouts
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="50dp" />
<solid android:color="@color/colorPrimary" />
</shape><?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="50dp" />
<solid android:color="#EEEEEE" />
</shape>Prepare the adapter
Render messages in the window

Send a basic text message

Hook push messages with the UI

Last updated