Comments (1)
Hi.
I have already prepared a delay for progress view displaying.
User method .bind(ProgressView view) in Request.
There are still overloads to hide the content at the time of the request, etc.
To make an artificially delayed flow in 1 second would be very bad, I realized on the handler.
But if you want do other custom tasks in background thread after your request is completed, You can overide public boolean finish(NResponseModel responseModel) in your NCallback realization. But do not forget to call the super class method if you use parsing via Gson (NCallbackGson or NCallbackParse) realizations.
from easynetwork.
Related Issues (13)
- Handle redirect HOT 1
- Add progress calculating of request execution
- Add connection listener
- Close progress views, when request is FAILED HOT 1
- Make pagination interface simplify HOT 1
- Change NConfig logic to EasyNet HOT 1
- Split NTask to several dependent classes HOT 1
- Url encoding for query parameters is incorrect in version 1.2.6 and up HOT 2
- Sending nested JSON HOT 5
- Retry a request after it fails HOT 1
- PUT request fails to complete with content type and body
- Numeric request parameters serialized to JSON as strings
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 easynetwork.