AndroidImageSlider icon indicating copy to clipboard operation
AndroidImageSlider copied to clipboard

com.squareup.picasso.Callback.onError(java.lang.Exception)"

Open Mehran-Amp opened this issue 6 years ago • 4 comments

I was having this issue with an older version of Picasso 2.5.2. Solved it by upgrading to the newer version

implementation 'com.squareup.picasso:picasso:2.71828' Don't forget that all calls to Picasso must now be updated from:

old syntax

Picasso.with(context) .load(url) .into(imageView) to new syntax

Picasso.get() .load(url) .into(imageView)

please fix it

Mehran-Amp avatar Aug 06 '19 11:08 Mehran-Amp

do you get any solution? @Mehran-Amp

Vengat121 avatar Aug 08 '19 17:08 Vengat121

This is my App ( Build ) and worked good.

apply plugin: 'com.android.application'

android { compileSdkVersion 29 defaultConfig { applicationId "com.example.banehersalcom" minSdkVersion 16 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } }

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12'

implementation 'com.github.JakeWharton:ViewPagerIndicator:2.4.1'
implementation 'androidx.vectordrawable:vectordrawable:1.0.1'
implementation 'com.github.JakeWharton:ViewPagerIndicator:2.4.1'
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'

implementation 'com.squareup.picasso:picasso:2.5.2'

implementation 'com.nineoldandroids:library:2.4.0'
implementation 'com.daimajia.slider:library:1.1.5@aar'
implementation 'com.borjabravo:readmoretextview:2.1.0'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'

}

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Vengat121 [email protected] Sent: Thursday, August 8, 2019 10:23:47 AM To: daimajia/AndroidImageSlider [email protected] Cc: Mehran-Amp [email protected]; Author [email protected] Subject: Re: [daimajia/AndroidImageSlider] com.squareup.picasso.Callback.onError(java.lang.Exception)" (#416)

do you get any solution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/daimajia/AndroidImageSlider/issues/416?email_source=notifications&email_token=AKFWZRQSGHPWNDSRZ6GJTMDQDRJCHA5CNFSM4IJVLYVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34KNEI#issuecomment-519612049, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKFWZRTBFWJ6DIKO3BDHST3QDRJCHANCNFSM4IJVLYVA.

Mehran-Amp avatar Aug 08 '19 23:08 Mehran-Amp

is there any solution without degrading picasso from 2.71828 to 2.5.2

Vengat121 avatar Aug 09 '19 05:08 Vengat121

Yes merge the (daimajia/AndroidImageSlider)library with your project and Do this:

old syntax

Picasso.with(context) .load(url) .into(imageView)

to new syntax

Picasso.get() .load(url) .into(imageView)

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Vengat121 [email protected] Sent: Thursday, August 8, 2019 10:36:37 PM To: daimajia/AndroidImageSlider [email protected] Cc: Mehran-Amp [email protected]; Mention [email protected] Subject: Re: [daimajia/AndroidImageSlider] com.squareup.picasso.Callback.onError(java.lang.Exception)" (#416)

is there any solution without degrading picasso from 2.71828 to 2.5.2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/daimajia/AndroidImageSlider/issues/416?email_source=notifications&email_token=AKFWZRTH6FJGGWWJPTIGRW3QDT66LA5CNFSM4IJVLYVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD35UTCI#issuecomment-519784841, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKFWZRU2PO5RO66MDD52HEDQDT66LANCNFSM4IJVLYVA.

Mehran-Amp avatar Aug 09 '19 19:08 Mehran-Amp