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

[PersistenceMigrationsSample]username is not shown #1096

Open
@wangweiqi-synu

Description

@wangweiqi-synu
    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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions