We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
描述bug
初始化 Trailer 后设置 MJRefreshStateIdle 的标题,不会立即生效! 一开始左滑出现的标题还是 滑动查看图文详情,等变成 释放查看图文详情 后再回来时,设置的标题才会生效
Trailer
MJRefreshStateIdle
滑动查看图文详情
释放查看图文详情
必现/偶发? 必现
怎么样重现这个bug
Demo MJHorizontalCollectionViewController.m 中,设置标题 MJRefreshStateIdle 状态的标题即可复现
MJHorizontalCollectionViewController.m
- (void)example42 { __weak __typeof(self) weakSelf = self; // 左拉刷新 MJRefreshNormalTrailer *trailer = [MJRefreshNormalTrailer trailerWithRefreshingBlock:^{ MJTestViewController *test = [[MJTestViewController alloc] init]; [weakSelf.navigationController pushViewController:test animated:YES]; [weakSelf.collectionView.mj_trailer endRefreshing]; }]; [trailer setTitle:@"aaa" forState:MJRefreshStateIdle]; // 这一行 self.collectionView.mj_trailer = trailer; }
你期望的结果是什么? 设置的标题能正常生效
运行环境
The text was updated successfully, but these errors were encountered:
刚刚提交了个 Pull requests,已修复此问题。
Sorry, something went wrong.
Fix issue CoderMJLee#1533(StateTrailer title could not be changed imm…
7c4cf39
…ediately if setting)
Fix issue #1533(StateTrailer title could not be changed immediately i…
0dec0e4
…f setting) (#1536)
Successfully merging a pull request may close this issue.
描述bug
初始化
Trailer
后设置MJRefreshStateIdle
的标题,不会立即生效!一开始左滑出现的标题还是
滑动查看图文详情
,等变成释放查看图文详情
后再回来时,设置的标题才会生效必现/偶发?
必现
怎么样重现这个bug
Demo
MJHorizontalCollectionViewController.m
中,设置标题MJRefreshStateIdle
状态的标题即可复现你期望的结果是什么?
设置的标题能正常生效
运行环境
The text was updated successfully, but these errors were encountered: