Open divya2392 opened 7 years ago
when am in login screen have small bug when i am doing back pressed
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == RC_SIGN_IN) { if(resultCode == RESULT_OK) { Toast.makeText(this, "Signed in", Toast.LENGTH_SHORT).show(); }else if (resultCode == RESULT_CANCELED) { Toast.makeText(this, "Sign in cancled", Toast.LENGTH_SHORT).show(); finish(); //activity not finish } } }
@divya2392 This one is fixed, right? comment the solution and then close it!
when am in login screen have small bug when i am doing back pressed
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == RC_SIGN_IN) { if(resultCode == RESULT_OK) { Toast.makeText(this, "Signed in", Toast.LENGTH_SHORT).show(); }else if (resultCode == RESULT_CANCELED) { Toast.makeText(this, "Sign in cancled", Toast.LENGTH_SHORT).show(); finish(); //activity not finish } } }