What does the RC_SIGN_IN means in googleplus login

家住魔仙堡 提交于 2019-12-01 02:42:52

RC_SIGN in is the request code you will assign for starting the new activity. this can be any number. When the user is done with the subsequent activity and returns, the system calls your activity's onActivityResult() method. and that method will be like :

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// Check which request we're responding to
    if (requestCode == RC_SIGN) {

    }
}

For more details you can see here.

For your requirement just assign any number to RC_SIGN.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!