I am trying to use the picasso library to loading the image store in the mediastore. When I called load(imageview, callback), the picasso call onFail instead of onSuccess. H
In case you want to use Picasso with Kotlin and lambda expression it could be as short as this:
val picasso = Picasso.Builder(context) .listener { _, _, e -> e.printStackTrace() } .build()
...and then you can load image as usual:
picasso.load(url).into(imageView)