Kshitij Patil
12/24/2020, 10:56 AMAutoCompleteTextField
few days ago but with the latest compose (alpha09) it seems like it's a bad idea to put a TextField inside a LazyColumn
as one of its item
, especially when its other items are decided based on what we type in the TextField, as I found my current implementation just gets stuck in an infinite loop of recomposition, freezing the textfield.
Any best practices, guidelines to follow in this regard? What should we keep inside a LazyColumn and what we shouldn't?Dominaezzz
12/24/2020, 12:05 PMTextField
inside the LazyColumn
?Kshitij Patil
12/24/2020, 12:07 PMitem
for TextField, as we use it for headers right nowDominaezzz
12/24/2020, 12:08 PMColumn { TextField(....); LazyColumn { ... } }
is what I'm getting at.DropdownMenu
rsktash
12/24/2020, 12:35 PMDominaezzz
12/24/2020, 1:35 PMrsktash
12/24/2020, 2:10 PMDominaezzz
12/24/2020, 2:13 PMexpanded = true
rsktash
12/24/2020, 2:16 PMDominaezzz
12/24/2020, 2:19 PMKshitij Patil
12/24/2020, 2:35 PMrsktash
12/24/2020, 2:36 PMAdam Powell
12/24/2020, 3:35 PMKshitij Patil
12/24/2020, 3:52 PMalpha07
, I'll try to create a repro when I get time and @rsktash you can also have a look at.