architecture-components-samples
architecture-components-samples copied to clipboard
[PersistenceMigrationsSample]username is not shown
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.
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。