在loginreadsubmission ....
上发生空指针异常public void btnfacebook(View view) {
ParseFacebookUtils.logInWithReadPermissionsInBackground(this, permission, new LogInCallback() {
@Override
public void done(ParseUser user, ParseException err) {
if (user == null) {
} else if (user.isNew()) {
} else {
Toaster.show(getApplicationContext(),"YES");
}
}
});
}
权限变量:
List<String> permission = permission = Arrays.asList("email");
请帮助!!!