In my app I am getting image from my server into Imageview. I using this code:
try {
GlideApp.with(mContext)
.load(myCard.url)
.placeholder(R.drawable.no_connection)
.apply(new RequestOptions().centerCrop())
.diskCacheStrategy(DiskCacheStrategy.NONE)
.skipMemoryCache(true)
.into(arkafon);
} catch (Exception e) {
e.printStackTrace();
}
it works but each time app download images as a new one so internet usage increasing. is that posibble to check if image is changed, app should download new one. otherwise if there is NO change at image app should use downloaded before image.