Replace ListView with RecyclerView for the message list.

This commit is contained in:
leopoldsedev
2020-02-10 18:41:06 +01:00
committed by Jannis Mattheis
parent 668e050add
commit fd07cad969
3 changed files with 53 additions and 42 deletions

View File

@@ -30,13 +30,13 @@
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/messages_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
</ListView>
</androidx.recyclerview.widget.RecyclerView>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/no_messages"