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

Kevin Hester

04/01/2020, 7:35 PM
Question: If I want to use compose in an existing view based application, is that possible? Googling shows mention of a GenerateView annotation, but apparently that was an old concept. Is there some new preferred Compose way of doing this? (I would like to be able to have a Compose function fill a view and still keep using views elsewhere in my app)
r

romainguy

04/01/2020, 7:39 PM
Is that what you’re looking for?
k

Kevin Hester

04/01/2020, 7:40 PM
oh great! I can add it to a ViewGroup. Brilliant! thanks