if(!image!!.equals("default")){
Picasso.with( applicationContext )
.load("image")
.placeholder(R.drawable.profile_img)
.into(settingsProfileId)
}
with is getting error unresolved reference
How to solve this error
You are using old version u need update ur library...
See more details.
In Gradle
implementation 'com.squareup.picasso:picasso:2.71828'
Java:
Picasso.get() .load(url) .resize(50, 50) .centerCrop() .into(imageView)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With