1 year ago
#74493
jens
Jetpack compose and AuthStatelistener firebase
Hi i am trying to create an app in jetpack compose with MVVM architechture and with firebase. I am now wondering where you would go about placing the AuthStatelistener in this case. I cant find anything about it on the web. The thing is that implementing that statelistnener does not work quz you do not use classes in Jetpack compose you use functions. and you cant call screens in the MainActivity. So how would you then check if the user is still signed in??? There is nothing about it on the web. There is a bunch of tutorials on the web about MVVM structure and ordinary xml layouts but nothing what i can find about jetpack compose?????
kotlin
mvvm
firebase-authentication
android-jetpack-compose
0 Answers
Your Answer