is anybody trying out the jetpack compose stuff? it doesn't seem to work with LiveData... at least, not how i'm trying to use it! there is only 1 page on the internet dealing with this combination...
w
wasyl
12/10/2019, 11:27 AM
#compose
j
James Richardson
12/10/2019, 11:33 AM
👍
y
yousefa2
12/10/2019, 12:01 PM
You wouldn't need LiveData AFAIK. You can annotate your data models with
@Model
and the compose compiler will rebuild views when this model changes.
a
Adam Powell
12/10/2019, 2:16 PM
You can use LiveData though - see recent threads in #compose for a snippet
j
James Richardson
12/10/2019, 2:44 PM
Hi Adam. Thanks, yeah I was using that snippet... there in more information in my post over there in #compose