kotlinandroid-coordinatorlayoutandroid-jetpack-compose

Android Jetpack Compose Coordinator Layout Equivalent


What is the best way to get the functionality of a CoordinatorLayout in Jetpack Compose?

I know that a Box is essentially a FrameLayout and CoordinatorLayout is a super-powered FrameLayout but is there a super-powered Box layout?


Solution

  • I guess we need to use nestedScroll modifier. There is a Collapsing Toolbar Example on documentation page.