last day (14 days later) » 

11:57 AM
0
Q: Glide placeholder vector drawable resource not found exception

SayemRecently I am trying to add Vector Drawable in my work. I am using glide to set my drawables. Here is my code : Glide .with(mContext) .load(resDrawable) .placeholder(placeHolderResDrawable) .centerCrop() .bitmapTrans...

 
check if you have placeholder is in v21 folder
 
as i said this is working in lolipop but crashed in bellow lolipop. @ankit i put in default drawable folder
 
vector drawable arent support before lollipop
 
@ankitagrawal in chrisbanes article it says : "Allows developers to easily use <vector> drawables on all devices running Android 2.1 and above."
 
yes but there is step how to enable it and are you using that support library version
 
11:57 AM
@ankitagrawal yes i did
 
ARE YOU USING 23.2.1 THEN\
BECOZ THEY REMOVED IT IN 23.3.0
 
I am using 23.3
 
they removed it in 23.3
use 23.2.1 then
 
what did they removed?
 
vector drawable support in 23.3.0
 
12:01 PM
as far i know they can be used by setImageResource or srcCompat
in 23.3
& more than that i am using glide. I did not directly put it in imageView
 
but you dont know what glide does
and since you are setting programmatically it wont work
srcCompat works
 

last day (14 days later) »