Comments (3)
调用loadData是刷新,调用loadNextPage是下一页。所以只要看调用哪个方法就可以了
from rtnetworking.
我的问题其实是loadData 和 loadNextPage 最终都会回调- managerCallAPIDidSuccess方法,那么ni s 如何在managerCallAPIDidSuccess中区分回调是loadData 还是 loadNextPage 产生呢? 应用场景,比如加载一个tableivew 列表,加载下一页是是往datalist里面 appenddata,如果是刷新先要把datalist里面的 data 全部remove掉
from rtnetworking.
from rtnetworking.
Related Issues (20)
- post 请求应删除 request.HTTPBody 赋值 HOT 1
- AFNetworkReachabilityStatusUnknown 状态时为什么返回的不是 NO? HOT 1
- 你好。有个问题请教一下
- 疑问 HOT 3
- 缓存bug
- 服务器返回的数据reformer的问题 HOT 8
- 关于shouldCallBackByFailedOnCallingAPI的参数 HOT 1
- CTAPIManagerValidator为什么没声明获取最后验证错误信息的方法? HOT 1
- CTNetworkingConfigurationManager
- Xcode Version 8.3.2 (8E2002) ios 10.3 第二次请求同一个api 报错处理 HOT 2
- 调用RESTful API的时候怎么拼接参数 HOT 6
- 怎么支持分布式服务器 HOT 26
- 网络请求 不能正常的接受回调;Batch、Chain请求如何优雅的实现 HOT 14
- CTAPIBaseManager里的 isLoading 为什么没有用? HOT 1
- CTAPIBaseManager requestId一直为0
- 网络请求不同 HOT 1
- 大佬你这个设计的缺点有吗? HOT 1
- 适配AFNetworking 3.2版本的https HOT 1
- 闪退 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtnetworking.