ImageViewer
ImageViewer copied to clipboard
Memory Leak /Retain Cycles resolved
For a little while I didn't realize pagingDataSource is also holding a reference to itemsDataSource...
Making itemsDelegate and itemsDataSource weak then passing the weak value to GalleryPagingDataSource resolved my issues.
Merge it with grain of salt....