<Implement FirebaseUI AuthUI with Hilt and MVVM> S...
# stackoverflow
u
Implement FirebaseUI AuthUI with Hilt and MVVM So a few days into learning Kotlin, Android, and MVVM and I'm a little confused on how I'm supposed to handle the authentication flow with com.firebaseuifirebase ui auth8.0.1 At the moment I have a AuthRepository which with my understanding should be responsible for calling to Firebase. So I have the following code: class AuthRepositoryImpl( private val auth: FirebaseAuth, private val authUI: AuthUI, ) : AuthRepository { override fun loginUser(result: (UiState) -> Unit) {...