This is the question that's following the unanswered one Image Caching from http sources.
I used the code from samples of MvvmCross and I was able to run MvxImageViewLoader
with my project. It caches the images for current instance of the application, but if I restart it all the images are being reloaded again. I would like to keep them persistent in iPhone's Library\Caches folder.
I noticed that in the application log there is a line:
mvx: Warning: 2.25 Persistent download cache will not be available - no text serializer available
It comes from framework's MvxFileDownloadCache
class because IoC container doesn't have a registered class for IMvxTextSerializer
interface. So I assume that if I define my implementation for this interface then the solution with permanent caching will work somehow. Although the nature of the interface seems suspicious to be used for image saving to a disk since it operates with objects to serialize and strings to deserialize. So I am actually confused and can't realize which way to go.