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
Post a Comment