KotlinLeaner
10/10/2022, 10:14 AMbroadcast receiver
in my composable
function. Is it good idea to create in viewmodel
? I am little bit concern about passing activity/ context
in viewmodel
? Because viewmodel
has greater lifecycle
than composable
. So what is best solution for this?Zun
10/10/2022, 11:14 AMJhonatan Sabadi
10/10/2022, 11:18 AMKotlinLeaner
10/10/2022, 11:22 AMJhonatan Sabadi
10/10/2022, 11:24 AMKotlinLeaner
10/10/2022, 11:40 AM