https://kotlinlang.org logo
#compose
Title
# compose
k

Kshitij Patil

12/09/2020, 9:26 PM
Has anyone made compose implementation of
AutoCompleteTextView
? I know I can just use the existing one but having it implemented in Compose would make it more flexible I feel.
d

Dominaezzz

12/09/2020, 9:54 PM
All you need is a dropdown, a lazycolumn and a text field. Compose them into what you need.
k

Kshitij Patil

12/10/2020, 7:51 AM
Yeah I was planning to. But why do I need dropdown? I can simply make a Column and show the suggestions list conditionally right?
d

Dominaezzz

12/10/2020, 12:29 PM
Just so you get the popup. Although that's somewhat opinionated.
5 Views