Skip to content

Instantly share code, notes, and snippets.

@fatihhcan
Created July 25, 2020 13:33
Show Gist options
  • Save fatihhcan/e7136d5b0c04c73a9d9c8d6a1796ce48 to your computer and use it in GitHub Desktop.
Save fatihhcan/e7136d5b0c04c73a9d9c8d6a1796ce48 to your computer and use it in GitHub Desktop.
private fun progressBarGoster(){
progress_Login.visibility = View.VISIBLE
}
private fun progressBarGizle(){
progress_Login.visibility = View.INVISIBLE
}
override fun onStart() {
super.onStart()
FirebaseAuth.getInstance().addAuthStateListener(mAuthStateListener)
}
override fun onStop() {
super.onStop()
FirebaseAuth.getInstance().removeAuthStateListener {mAuthStateListener}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment