Hi,
I'm using a ListView and implemented a DetailView using the CachedViewModelCellFactory. While running the app over a while I noticed that the cache of the CellFactory is not cleared when new Items are loaded and the app is consuming a growing amount of memory.
As a workaround I accessed the cache via reflections an cleared it manually:
Hi, I'm using a ListView and implemented a DetailView using the CachedViewModelCellFactory. While running the app over a while I noticed that the cache of the CellFactory is not cleared when new Items are loaded and the app is consuming a growing amount of memory. As a workaround I accessed the cache via reflections an cleared it manually:
Is there an alternative way to do this? Maybe a "cachedSetItems(List vms)" Method?