Glide: signature,skipMemoryCache Method not found

Created on 12 Jun 2017  路  4Comments  路  Source: bumptech/glide


Glide Version:
com.github.bumptech.glide:glide:4.0.0-RC0

Integration libraries:


Device/Android Version:
6.0

Issue details / Repro steps / Use case background:


Glide load line / GlideModule (if any) / list Adapter code (if any):

Glide.with(holder.albumimage.getContext())
                                    .load(decodedString)
                                    .skipMemoryCache(true)
                                    .into(holder.albumimage);


Layout XML:

<ImageView
            android:id="@+id/albumimage"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_centerHorizontal="true"
            android:layout_centerVertical="true"
            android:visibility="gone" />


Stack trace / LogCat:

Cannot resolve method 'skipMemoryCache(boolean)

Most helpful comment

I solved the issue by changing the version of glide to compile 'com.github.bumptech.glide:glide:3.8.0'

All 4 comments

I solved the issue by changing the version of glide to compile 'com.github.bumptech.glide:glide:3.8.0'

this method seem come back

Thank you i solved this problem by change the version of glide to 3:8:0

The method is available in Glide v4 via the generated API or the default API. The docs page has a ton of information and examples on options as well.

Was this page helpful?
0 / 5 - 0 ratings