detail: separate header from list data

Separate the header information into it's own adapter, and concatenate
it with the prior adapter.

This way, it can be updated separately without a jarring list update.
This commit is contained in:
Alexander Capehart
2023-03-19 12:03:58 -06:00
parent f57b5dfc81
commit 9cc75a0e11
33 changed files with 570 additions and 490 deletions
+1 -1
View File
@@ -35,6 +35,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
tools:listitem="@layout/item_detail" />
tools:listitem="@layout/item_detail_header" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>