We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Regarding "https://codelabs.developers.google.com/codelabs/firebase-android/#5" When I reach stage 6 - "Then add a new case to onOptionsItemSelected() to handle the sign out button:"
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.sign_out_menu: mFirebaseAuth.signOut(); Auth.GoogleSignInApi.signOut(mGoogleApiClient); mUsername = ANONYMOUS; startActivity(new Intent(this, SignInActivity.class)); return true; default: return super.onOptionsItemSelected(item); } }
line: mFirebaseAuth.signOut(); shows error "Unreachable statment".
mFirebaseAuth.signOut();
Why is this?
Many Thanks
The text was updated successfully, but these errors were encountered:
Don't know
Sorry, something went wrong.
This issue was moved to firebase/codelab-friendlychat-android#17
kroikie
No branches or pull requests
Hi,
Regarding "https://codelabs.developers.google.com/codelabs/firebase-android/#5"
When I reach stage 6 - "Then add a new case to onOptionsItemSelected() to handle the sign out button:"
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.sign_out_menu: mFirebaseAuth.signOut(); Auth.GoogleSignInApi.signOut(mGoogleApiClient); mUsername = ANONYMOUS; startActivity(new Intent(this, SignInActivity.class)); return true; default: return super.onOptionsItemSelected(item); } }
line:
mFirebaseAuth.signOut();
shows error "Unreachable statment".Why is this?
Many Thanks
The text was updated successfully, but these errors were encountered: