Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PersistenceMigrationsSample]username is not shown #1096

Open
wangweiqi-synu opened this issue Sep 12, 2024 · 1 comment
Open

[PersistenceMigrationsSample]username is not shown #1096

wangweiqi-synu opened this issue Sep 12, 2024 · 1 comment

Comments

@wangweiqi-synu
Copy link

wangweiqi-synu commented Sep 12, 2024

    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.

Screenshot 2024-09-12 at 22 51 44

One finding is that I attached the process and mView is null.

@thewyp
Copy link

thewyp commented Sep 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants