Commit e83705be authored by 艾娇平's avatar 艾娇平

上拉加载/下拉刷新时 增加曝光所需滑动次数增加

parent 7a4ee5ca
......@@ -35,6 +35,9 @@
- (void)executeRefreshingCallback
{
// 上拉数据时,页面上拉次数++
self.pageCtrl.up_loading_times++;
dispatch_async(dispatch_get_main_queue(), ^{
MJRefreshHeader *header = _scrollView.mj_header;
if (header && [header isRefreshing]) {
......
......@@ -98,6 +98,9 @@
- (void)executeRefreshingCallback
{
// 下拉加载时,页面下拉次数++,同时将当前数据进行上报
self.pageCtrl.down_loading_times++;
[[GMExposureManager sharedManager] endExpoTrcakerForPageCtrl:self.pageCtrl];
dispatch_async(dispatch_get_main_queue(), ^{
MJRefreshFooter *footer = _scrollView.mj_footer;
if (footer && [footer isRefreshing]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment