matvei
12/17/2020, 1:04 PMModifier.nestedScrollLazyColumnBackdropScaffoldPhotoxor
12/17/2020, 1:30 PMnestedScroll works great, thanks. Why is PreUpPostDownNestedScrollConnection defined as internal?Colton Idle
12/17/2020, 2:20 PMmatvei
12/17/2020, 2:24 PMmatvei
12/17/2020, 2:26 PMmatvei
12/17/2020, 2:32 PMWhy is PreUpPostDownNestedScrollConnection defined as internal?Few reasons: β’ It's temporary. We yet to make a proper detailed nested scroll per components (probably backdrop, bottomsheet, extendedbottomsheet, etc will have slightly different logic). β’ It's an implementation detail of the few components and not intended for an external usage. β’ It's build on top of public API so you could easily make your own that is similar or just a copy paste and iterate on that. This way you have more control and we won't break you when we remove it. I hope that makes sense. Same idea that in LazyColumn we don't expose it, as it's just an internal detail of a scroll.
sindrenm
12/17/2020, 3:25 PM@Composable<NestedScrollView />Modifier.nestedScroll()sindrenm
12/17/2020, 3:30 PM<NestedScrollView />sindrenm
12/17/2020, 3:32 PMLazyColumn<CoordinatorLayout />layout_behavior="@string/appbar_scrolling_view_behavior"matvei
12/17/2020, 3:37 PMmatvei
12/17/2020, 3:38 PMsindrenm
12/17/2020, 4:08 PM<AppBarLayout /><CollapsingToolbarLayout />@Composable<FrameLayout id="container" />layout_behaviourLazyColumn()matvei
12/17/2020, 4:25 PMcontainersindrenm
12/17/2020, 10:05 PMmatvei
01/08/2021, 11:58 AMsindrenm
01/08/2021, 2:27 PMfabio.carballo
11/12/2021, 6:37 PMLazyColumnAppBarLayout