FSPagerView
FSPagerView copied to clipboard
willDisplay and didEndDisplaying's index are correct?
func pagerView(_ pagerView: FSPagerView, willDisplay cell: FSPagerViewCell, forItemAt index: Int) {
}
func pagerView(_ pagerView: FSPagerView, didEndDisplaying cell: FSPagerViewCell, forItemAt index: Int) {
}
noticed that index != pagerView.currentIndex
in these methods