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;
}
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)
But it works fine (so it passes the File object to Picasso directly) if a method is used: