private UpdateUserCallback createUpdateUserCallback() {
return user -> {
Log.d("GZL", "mView = " + mView);
if (mView != null) {
mView.showUserName(user.getUserName());
}
};
}
There is a chance that mView is null when I ran the application, but I do not figure out why and how to fix it.
One finding is that I attached the process and mView is null.