Hello everybody,
please i need a help with my code,
part of my code required to picture, now i found some line was very helpful for me but i can't find the write way to do it, i am trying to do like this
Glide.with(this).load(urlNavHeaderBg)
.crossFade()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.into(imgNavHeaderBg);
now, the urlNavHeaderBg is
string and inside that string is just regular url like "http:aaa.aaa.com/example.jpg" the function works perfect and the image loaded perfectly in the app
but i don't need to access the internet or load from the internet, i just want to load from the drawable folder i mean i want to load internally like store the image inside the app and load from the folder
please how i can do that
thank you