c# - Proper usage for MvxFileDownloadCache.Clear -


i'm trying cleanup unwanted http image data have loaded via mvximageviewloader.

i've found function clear in filedownloadcache seems need.

var downloadcache = mvx.resolve<imvxfiledownloadcache>(); downloadcache.clear(_imagechart1viewloader.imageurl); 

periodically calls function (once second looks of it) deletes files in private list

private readonly list<string> _todeletefiles = new list<string>(); 

clear adds image url list.

except once call function i'm still able see image. i.e. stays in memory.

so need know place calling clear , using in correct way. call every time exit detailview downloads image url.

mvvmcross v4.2.2 (latest)


Comments

Popular posts from this blog

Sass watch command compiles .scss files before full sftp upload -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -