hi
I am using this code and AX_RecyclerView lib and Amir_Glide
I have a picture source that is renewed every day.
The picture from the application is not renewed every day. shows when I first installed the application. not showing the new picture the next day. not renewed. still showing the old picture. keeps pictures in memory. not renewed.
Is it possible to clear image from cache before getting newly replaced image? This will also solve the problem.
what can I do..
how can i apply it.
I am using this code and AX_RecyclerView lib and Amir_Glide
I have a picture source that is renewed every day.
The picture from the application is not renewed every day. shows when I first installed the application. not showing the new picture the next day. not renewed. still showing the old picture. keeps pictures in memory. not renewed.
Is it possible to clear image from cache before getting newly replaced image? This will also solve the problem.
what can I do..
how can i apply it.
Remove image from cache in Glide library
I am using Glide in one of my projects to show images from files. Below is my code of how I am showing the image: Glide.with(DemoActivity.this) .load(Uri.parse("file://" + imagePath)...
stackoverflow.com
B4X:
Private Sub LoadImage (Img As ImageView,Position As Int)
Dim Glide As Amir_Glide
Dim color2 As ColorDrawable
color2.Initialize(Colors.DarkGray,0)
Glide.RequestManager.SetDefaultRequestOptions(Glide.RO.ErrorDrawable(color2).Placeholder(color2).CenterCrop)
Glide.Initializer.Default
End Sub