Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants