Closed SecretMo closed 2 months ago
JXPagerListContainerScrollView 下面方法 - (void)listWillAppear:(NSInteger)index 这个index 值不对 在reload 的时候 值为正确值减1 目前修复是把 私有的 @Property (nonatomic, assign) NSInteger currentIndex; 暴露给外部 在刷新前赋值正确的index 代码如下 strongSelf.pagingView.listContainerView.currentIndex=strongSelf.currentIndex; [strongSelf.categoryView reloadData];
JXPagerListContainerScrollView 下面方法 - (void)listWillAppear:(NSInteger)index 这个index 值不对 在reload 的时候 值为正确值减1 目前修复是把 私有的 @Property (nonatomic, assign) NSInteger currentIndex; 暴露给外部 在刷新前赋值正确的index 代码如下 strongSelf.pagingView.listContainerView.currentIndex=strongSelf.currentIndex; [strongSelf.categoryView reloadData];