Jordan Carlyon
08/06/2021, 3:45 PMjava.lang.IllegalStateException: Nesting scrollable in the same direction layouts like ScrollableContainer and LazyColumn is not allowed.
I have a LazyColumn
in a Fragment
with a LinearLayout
This all works fine until I attempt to add .verticalScroll(rememberScrollState())
to the LazyColumn
and I get the above errorAndrey Kulikov
08/06/2021, 3:58 PMJordan Carlyon
08/06/2021, 4:14 PMState of the scroll. Allows the developer to change the scroll position or get current state by calling methods on this object. To be hosted and passed to Modifier.verticalScroll or Modifier.horizontalScroll
Jordan Carlyon
08/06/2021, 4:14 PMmcpiroman
08/06/2021, 4:16 PMJordan Carlyon
08/06/2021, 4:31 PMScrollState
it is LazyListState
which is something else entirely 😢Jordan Carlyon
08/06/2021, 4:58 PMscrollable()
is accessible in LazyLists
then?Jordan Carlyon
08/06/2021, 4:59 PM