这个想法是在 jetpack compose 中创建一个类似于此伪代码的布局:
<SwipeRefreshLayout>
<CoordinatorLayout>
<NavigationDrawer>
<AppBarLayout>
<CollapsingToolbarLayout>
<ConstraintLayout/> (contains some text view)
</CollapsingToolbarLayout>
<AppBarLayout>
<NestedScrollView>
<LinearLayout>
<ConstraintLayout> (contains some text views and buttons)
<HorizontalRecyclerView/>
<TabLayout/> (which works like sticky header)
<ViewPager/>
</LinearLayout>
</NestedScrollView>
</CoordinatorLayout>
</SwipeRefreshLayout>
我面临的问题是 LazyColumn 不能进入其他滚动组件。因此,如果您能指导我了解一些很棒的概念/链接/示例。