需要帮助 - 我有一些这样的注销代码
public void logoutFromFacebook() {
mAsyncRunner.logout(this, new RequestListener() {
public void onComplete(String response, Object state) {
Log.d("Logout from Facebook", response);
if (Boolean.parseBoolean(response) == true) {
runOnUiThread(new Runnable() {
@Override
public void run() {
// Login button visible
btnFbLogin.setVisibility(View.VISIBLE);
// making all remaining buttons invisible
btnFbGetProfile.setVisibility(View.INVISIBLE);
btnPostToWall.setVisibility(View.INVISIBLE);
btnShowAccessTokens.setVisibility(View.INVISIBLE);
btnFbLogout.setVisibility(View.INVISIBLE);
}
});
}
}
}
但是那个代码不起作用,当我点击注销时,再次点击登录,我没有再次输入用户名和密码,我想如果我点击注销,当我再次点击登录时,我可以再次输入用户名和密码,请需要解决方案,谢谢