What's the right way to have a LazyColumn inside a Column with
verticalScroll
modifier?
For example in the Bloom AndroidDevChallenge app home screen.
c
Colton Idle
11/01/2021, 9:49 PM
I don't think you can? That would give you two things with infinite height which compose doesn't allow?
Definitely wait for someone that really knows what they're talking about to chime in. 😄
a
Afzal Najam
11/01/2021, 9:52 PM
Yeah I mean Compose pretty much tells me that I can't so you're right.
I'm more wondering how to actually do something like have a sublist.
Like if I have a screen, which needs to scroll on small screens (or in landscape mode) but then also has a component in it that is a LazyColumn with items that need to behave as a separate list, maybe allow reordering between those items or something that's only limited to that component.
Currently, I just have a normal column since I know it's gonna only have 3 items in there but then the reordering animations in LazyColumn are coming up and I'm wondering how I would use that
@Afzal Najam it looks like andrey kulikov (who seems to know everything there is to know about lazyCols added a + to the above comment, so I think its safe to say that that's the way to move forward)
👍 2
a
Afzal Najam
11/02/2021, 11:15 PM
Thanks @nglauber and @Colton Idle!
Lol, I have a stash with this change now, waiting for the