MaherKSantina / MSPeekCollectionViewDelegateImplementation

A custom paging behavior that peeks the previous and next items in a collection view
https://medium.com/@maher.santina90/how-to-create-cells-that-peek-on-the-sides-like-ios-11-app-store-ef4bb54c0c7d
MIT License
356 stars 32 forks source link

Is it possible to change the view content of center one? #61

Open ashokt opened 4 years ago

ashokt commented 4 years ago

I have map view and collection which is horizontal, when i scroll the collection view center item should be change the view and as well as update the mapview with center item lat and long.

MaherKSantina commented 4 years ago

Hello @ashokt , so sorry for the late reply I've been very busy these couple of months. I just released a new version of the library which helps you track the current index, you can find the details here https://github.com/MaherKSantina/MSPeekCollectionViewDelegateImplementation/releases/tag/3.1.1. You can use this to monitor index changes and based on that you can update your map view with the different information. Please let me know if it doesn't work so we can look into other solutions 👍

ashokt commented 4 years ago

@MaherKSantina thanks for your reply. I look in to that , will get back to you if still i am facing problem