Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Well, apparently the issue was really simple to solve. You just have to make sure that your ios project references Cirrious.MvvmCross.Plugins.Json library from MvvmCross libs set (you'll have to build it with the link to Newtonsoft.Json.dll). Also don't forget to register the plugins in your application. Basically this is the config that gives your caching and persisting of all MvxImageViewLoader's loaded images:</p> <pre><code>public class Setup : MvxTouchSetup { public Setup (MvxApplicationDelegate appDelegate, IMvxTouchViewPresenter presenter) : base(appDelegate, presenter) { } protected override IMvxApplication CreateApp() { return new YourAppClass(); } protected override void AddPluginsLoaders(MvxLoaderPluginRegistry registry) { registry.AddConventionalPlugin&lt;Cirrious.MvvmCross.Plugins.DownloadCache.Touch.Plugin&gt;(); registry.AddConventionalPlugin&lt;Cirrious.MvvmCross.Plugins.File.Touch.Plugin&gt;(); base.AddPluginsLoaders(registry); } protected override void InitializeLastChance () { Cirrious.MvvmCross.Plugins.DownloadCache.PluginLoader.Instance.EnsureLoaded(); Cirrious.MvvmCross.Plugins.File.PluginLoader.Instance.EnsureLoaded(); Cirrious.MvvmCross.Plugins.Json.PluginLoader.Instance.EnsureLoaded(); base.InitializeLastChance(); } </code></pre> <p>}</p> <p>My initial observation regarding the console log line that there is no text serializer was a key to solve the problem. I looked into my app Caches folder in iPhone Simulator and found tons of cached images in Pictures.MvvmCross folder, but according to the source code of MvvmCross framework there also must be Pictures.MvvmCross_CacheIndex.txt with serialized list of Entities to give the caching engine the way to load the list of existing image files. Due to missing serializer this list file wasn't created and hence on the next application restart all the info about existing loaded images was lost.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload