Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was archived by the owner on May 4, 2022. It is now read-only.

Populating an ImageView with a file converts to String when using a class field #203

Description

@smaugho

If the layout has an ImageView with ID userImage, the following @populate converts the field to String before calling Picasso (so, the file is not loaded correctly)

@Populate
File userImage;

But it works fine (so it passes the File object to Picasso directly) if a method is used:

    File userImage;

    @Populate
    public File getUserImage() {
        return userImage;
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions