Created
May 1, 2019 17:15
-
-
Save nitesh-singh-1307/46656eb6f935532ef1f16144602db79d 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
private FirebaseAuth mAuth; | |
private EditText edit_txtemail,edit_txtpass; | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
mAuth = FirebaseAuth.getInstance(); | |
} | |
@Override | |
public void onStart() { | |
super.onStart(); | |
// Check if user is signed in (non-null) and update UI accordingly. | |
FirebaseUser currentUser = mAuth.getCurrentUser(); | |
updateUI(currentUser); | |
} | |
private void updateUI(FirebaseUser user) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment