Skip to content

Not Working with latest Picasso Library #37

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

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions