I've got a webview that I'm loading images into, but when the image changes the webview is not showing the new image, still the old one. The image keeps the same file name but the actual picture itself is changed.
The webview has its own activity and its closed using Activity.Finish and I've tried adding the following code in various places hoping it would reset it but no luck...
The image is loaded using this code...
The webview has its own activity and its closed using Activity.Finish and I've tried adding the following code in various places hoping it would reset it but no luck...
B4X:
WebView1.LoadHtml("<html><body>Loading...</body></html>")
'And
WebView1.loadUrl("about:blank")
The image is loaded using this code...
B4X:
TempHtml="<html><body bgcolor='black' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'><center>" _
& "<img src=" & ImagePath & " width='95%' height='auto'/></center>" _
& "</body></html>"
WebView1.LoadHtml(TempHtml)