Skip to content

Not Working with latest Picasso Library #37

@praful-mishra

Description

@praful-mishra

public class PicassoLoader extends ImageLoaderBase {

public PicassoLoader() {
    super();
}

public PicassoLoader(String defaultPlaceholderString) {
    super(defaultPlaceholderString);
}

@Override
public void loadImage(@NonNull AvatarView avatarView, @NonNull AvatarPlaceholder avatarPlaceholder, String avatarUrl) {
    Picasso.with(getContext())
            .load(avatarUrl)
            .placeholder(avatarPlaceholder)
            .fit()
            .into(avatarView);
}

}

.with() method is removed in the latest version

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