Commit 02fa97c6 authored by 乔金柱's avatar 乔金柱

Merge branch 'ajp/addExpo' into 'master'

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

See merge request !9
parents 7a4ee5ca e83705be
......@@ -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