hi all
i m using this code to download new images
i call this on resume
the problem here is imgn1 2 3 and 4 dont change, i clean the cache every time i call this
but this dont change, the strange is imgperfil < this change only this
why the anoters dont change too?
i m using this code to download new images
B4X:
Sub atualizanaoenviadas
CallSub(ImageDownloader, "ClearCache")
Dim links As Map
links.Initialize
links.Clear
links.Put(imgperfil, kv.GetSimple("imgsocial"))
links.Put(imgn1, "http://10.10.10.10/clickfight/UsersImages/"&userid&"/MeuPerfil/NaoEnviadas/Miniaturas/"&"0.jpg")
links.Put(imgn2, "http://10.10.10.10/clickfight/UsersImages/"&userid&"/MeuPerfil/NaoEnviadas/Miniaturas/"&"1.jpg")
links.Put(imgn3, "http://10.10.10.10/clickfight/UsersImages/"&userid&"/MeuPerfil/NaoEnviadas/Miniaturas/"&"2.jpg")
links.Put(imgn4, "http://10.10.10.10/clickfight/UsersImages/"&userid&"/MeuPerfil/NaoEnviadas/Miniaturas/"&"3.jpg")
CallSubDelayed2(ImageDownloader, "Download", links)
End Sub
i call this on resume
the problem here is imgn1 2 3 and 4 dont change, i clean the cache every time i call this
but this dont change, the strange is imgperfil < this change only this
why the anoters dont change too?