Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMRefresh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMRefresh
Commits
3ca04084
Commit
3ca04084
authored
May 29, 2020
by
luyueming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加精准曝光
parent
0f746d78
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Podfile
Example/Podfile
+1
-1
GMRefreshFooter.m
GMRefresh/Classes/GMRefreshFooter.m
+1
-1
GMRefreshHeader.m
GMRefresh/Classes/GMRefreshHeader.m
+2
-2
No files found.
Example/Podfile
View file @
3ca04084
...
@@ -8,7 +8,7 @@ platform :ios, '8.0'
...
@@ -8,7 +8,7 @@ platform :ios, '8.0'
target
'GMRefresh_Example'
do
target
'GMRefresh_Example'
do
pod
'GMRefresh'
,
:path
=>
'../'
pod
'GMRefresh'
,
:path
=>
'../'
#
pod 'GMPhobos', :git => 'git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git', :commit => 'ed064ed2'
pod
'GMPhobos'
,
:git
=>
'git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git'
,
:commit
=>
'ed064ed2'
target
'GMRefresh_Tests'
do
target
'GMRefresh_Tests'
do
inherit!
:search_paths
inherit!
:search_paths
...
...
GMRefresh/Classes/GMRefreshFooter.m
View file @
3ca04084
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
-
(
void
)
executeRefreshingCallback
-
(
void
)
executeRefreshingCallback
{
{
// 上拉数据时,页面上拉次数++
// 上拉数据时,页面上拉次数++
//
self.pageCtrl.up_loading_times++;
self
.
pageCtrl
.
up_loading_times
++
;
dispatch_async
(
dispatch_get_main_queue
(),
^
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
MJRefreshHeader
*
header
=
_scrollView
.
mj_header
;
MJRefreshHeader
*
header
=
_scrollView
.
mj_header
;
...
...
GMRefresh/Classes/GMRefreshHeader.m
View file @
3ca04084
...
@@ -99,8 +99,8 @@
...
@@ -99,8 +99,8 @@
-
(
void
)
executeRefreshingCallback
-
(
void
)
executeRefreshingCallback
{
{
// 下拉加载时,页面下拉次数++,同时将当前数据进行上报
// 下拉加载时,页面下拉次数++,同时将当前数据进行上报
//
self.pageCtrl.down_loading_times++;
self
.
pageCtrl
.
down_loading_times
++
;
//
[[GMExposureManager sharedManager] endExpoTrcakerForPageCtrl:self.pageCtrl];
[[
GMExposureManager
sharedManager
]
endExpoTrcakerForPageCtrl
:
self
.
pageCtrl
];
dispatch_async
(
dispatch_get_main_queue
(),
^
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
MJRefreshFooter
*
footer
=
_scrollView
.
mj_footer
;
MJRefreshFooter
*
footer
=
_scrollView
.
mj_footer
;
if
(
footer
&&
[
footer
isRefreshing
])
{
if
(
footer
&&
[
footer
isRefreshing
])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment