Android-Universal-Image-Loader icon indicating copy to clipboard operation
Android-Universal-Image-Loader copied to clipboard

Image can't be decoded [drawable://2131230838_1080x1080]

Open imandaliya opened this issue 7 years ago • 1 comments

Advance thanks UIL

Drawable is Here [https://imgur.com/BZuty0w](Grid Drawable)

I'm creating repeatable drawable using android drawable in res/drawable/drawable_grid.xml <?xml version="1.0" encoding="utf-8"?> <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/transparent_gradient" android:tileMode="repeat" />

i can directly access this repeatable drawable using

Drawable d1 = ContextCompat.getDrawable(getContext(), R.drawable.drawable_transparent_gradient);

but if i am use UIL to load image into ImageView its generate error like

Image can't be decoded [drawable://2131230838_1080x1080]

Everything is working instead of the UIL

So how to load repeatable drawable using UIL ?

imandaliya avatar Jun 04 '18 07:06 imandaliya

Use fresso library that is best for to load the drawable assets..

ArslanKathia avatar Nov 15 '18 16:11 ArslanKathia