How to provide support for nested scrolling when using `LazyLayout`

33 Views Asked by At

I'm trying to figure out how to make a custom LazyLayout work with nested scrolling and in particular supporting Modifier.pullRefresh(pullRefreshState) and Modifier.nestedScroll(TopAppBarDefaults.enterAlwaysScrollBehavior().nestedScrollConnection) modifiers.

Right now, the LazyLayout uses Modifier.pointerInput() for drag detection, should something else be used?

The current implementation is available here (I'm not the original author of the library, I'm just trying to add nested scroll support to it).

0

There are 0 best solutions below