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:
@@ -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>
|
||||
Reference in New Issue
Block a user