. I am building a new component in the fragment and using
ComposeView
. The item which is building have more than 50+ items and it will increase in the future. I cannot rebuild my whole fragment at same time. I am using normal
Column
with
repeat
function to display item in the
ComposeView
but it cost so much performance issue to load item or even to open that fragment. If I change to
LazyColumn
and commented the
NestedScrollView
in xml. It working fast loading item or opening the fragment. I cannot use
LazyColumn
with
NestedScrollView
? Is there way we can solve this problem?
d
dewildte
04/20/2023, 4:40 PM
Not that I am aware of.
We had this problem at work and just rebuilt the screen to be wrapped in a
@Composable
.
If you can not do that the you might make pragmatic choice to not use compose here until you can refactor the root issue out of existence.