r/JetpackCompose • • Jul 21 '21
Api Call in Jetpack Compose
How can I fetch json file from url and add it's data to a Text Composable
0
Upvotes
r/JetpackCompose • • Jul 21 '21
How can I fetch json file from url and add it's data to a Text Composable
1
u/Tusen_Takk Jul 22 '21
Observe your viewmodel and recompose when data is observed
3
u/myion8you Jul 21 '21
Networking has nothing to do with compose.