Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复自定义cell中的index不准确的bug #665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flyOfYW
Copy link

@flyOfYW flyOfYW commented Jan 25, 2021

修复- (void)setupCustomCell:(UICollectionViewCell *)cell forIndex:(NSInteger)index cycleScrollView:(SDCycleScrollView *)view中的index不准确的bug;

…teger)index cycleScrollView:(SDCycleScrollView *)view中的index不准确的bug
@Liyongcong
Copy link

修复- (void)setupCustomCell:(UICollectionViewCell *)cell forIndex:(NSInteger)index cycleScrollView:(SDCycleScrollView *)view中的index不准确的bug;
你好,遇到了同样的问题,请问你怎么解决的,下载的他最新的demo也还有这个问题

@flyOfYW
Copy link
Author

flyOfYW commented Jun 3, 2021

修复- (void)setupCustomCell:(UICollectionViewCell *)cell forIndex:(NSInteger)index cycleScrollView:(SDCycleScrollView *)view中的index不准确的bug;
你好,遇到了同样的问题,请问你怎么解决的,下载的他最新的demo也还有这个问题

你看下我提交那个分支的代码

@Liyongcong
Copy link

Liyongcong commented Jun 3, 2021 via email

@flyOfYW
Copy link
Author

flyOfYW commented Jun 3, 2021

没有willDisplayCell这个方法,还用去实现你在这个
我是这样解决的,在willDisplayCell处理响应的业务

@Liyongcong
Copy link

Liyongcong commented Jun 3, 2021 via email

lrongtan added a commit to lrongtan/SDCycleScrollView that referenced this pull request Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants