Created
August 17, 2018 13:53
-
-
Save vprabhu/b42cfb3992bf5710036f98045aa72b00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override fun onStart() { | |
super.onStart() | |
// Check if user is signed in (non-null) and update UI accordingly. | |
val currentUser = mAuth.currentUser | |
val userName = currentUser?.displayName | |
textView_username.text = userName | |
if(!userName.isNullOrEmpty()){ | |
setLoginUIVisible(currentUser?.photoUrl) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment