Join Slack
Powered by
<How to update my composable upon service property...
# stackoverflow
u
user
07/23/2022, 2:01 PM
How to update my composable upon service property update?
I'm using a service locator (as advised in
https://developer.android.com/training/dependency-injection#di-alternatives
, but I'll switch to proper DI later I promise) to handle auth in my app. I have an authentication service that has a user property that I set and unset using logIn and logOut methods I'd like my ContentView to react to changes in auth.user but I can't quite...
Open in Slack
Previous
Next