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
b4634e27
Commit
b4634e27
authored
Nov 10, 2020
by
艾娇平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打开注释
parent
276e33cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Podfile.lock
Example/Podfile.lock
+2
-2
GMRefreshFooter.m
GMRefresh/Classes/GMRefreshFooter.m
+1
-1
GMRefreshHeader.m
GMRefresh/Classes/GMRefreshHeader.m
+2
-2
No files found.
Example/Podfile.lock
View file @
b4634e27
...
...
@@ -5,7 +5,7 @@ PODS:
- GMCache
- MagicalRecord
- MJExtension
- GMRefresh (1.
0.1
0):
- GMRefresh (1.
1.
0):
- GMPhobos
- MJRefresh
- MagicalRecord (2.3.2):
...
...
@@ -35,7 +35,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
GMCache: b78d8e46db864405e91d226ce640cc80d966c611
GMPhobos: b4e16c162df6618c6f7d10f4649a5f32920961fd
GMRefresh:
83bace29d46fc6fa7af8a5f804c87c6d9d877f03
GMRefresh:
973c5866dfa196c6a846350268fce3ba4eee6230
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
MJExtension: d9b9c74cbdeb724c1e9ecbb157b318276e62e876
MJRefresh: 53e3e3219f204425ee6d3e62e8733d3295944cd6
...
...
GMRefresh/Classes/GMRefreshFooter.m
View file @
b4634e27
...
...
@@ -40,7 +40,7 @@
-
(
void
)
executeRefreshingCallback
{
// 上拉数据时,页面上拉次数++
//
self.pageCtrl.up_loading_times++;
self
.
pageCtrl
.
up_loading_times
++
;
dispatch_async
(
dispatch_get_main_queue
(),
^
{
MJRefreshHeader
*
header
=
_scrollView
.
mj_header
;
...
...
GMRefresh/Classes/GMRefreshHeader.m
View file @
b4634e27
...
...
@@ -102,8 +102,8 @@
-
(
void
)
executeRefreshingCallback
{
// 下拉加载时,页面下拉次数++,同时将当前数据进行上报
//
self.pageCtrl.down_loading_times++;
//
[[GMExposureManager sharedManager] endExpoTrcakerForPageCtrl:self.pageCtrl];
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
])
{
...
...
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