Open ugenlik opened 5 years ago
For a little while I didn't realize pagingDataSource is also holding a reference to itemsDataSource...
pagingDataSource
Making itemsDelegate and itemsDataSource weak then passing the weak value to GalleryPagingDataSource resolved my issues.
itemsDelegate
itemsDataSource
GalleryPagingDataSource
Merge it with grain of salt....
For a little while I didn't realize
pagingDataSource
is also holding a reference to itemsDataSource...Making
itemsDelegate
anditemsDataSource
weak then passing the weak value toGalleryPagingDataSource
resolved my issues.Merge it with grain of salt....