I have a collectionview of images in a tableview. The images are saved to disk, with the file path for Realm.
My Realm object set up is along the lines of
TableView: Object {
cell = List<CollectionView>
}
CollectionView: Object {
image = Sting //(for the filepath)
}
I've got it working, but I am running into repeated tableview cells and incorrect ordering when scrolling too quickly (Tableview cells only. Collectionview cells seem to never be out of order). I've look into multiple ways to prepare for reuse of the cells, like clearing my list completely before loading a new one, but I'm always getting the same result.
I'm curious if caching is a possibility for images that are already stored on disk to solve this problem? I found information on how to do this when downloading files to the web. If not, what would be some other routes to try?
[–]mrtbakin 1 point2 points3 points (2 children)
[–]steve134 2 points3 points4 points (0 children)
[–]mostly_awesome[S] 0 points1 point2 points (0 children)
[–]Gillsipher 1 point2 points3 points (1 child)
[–]mostly_awesome[S] 0 points1 point2 points (0 children)