how to make you app offline

638 阅读1分钟
原文链接: github.com

for detial infomation ,please see www.jianshu.com/p/c644a325c…

make you app offline is very important for UX,because of network is not always our friends.

when network become not very well ,user may have a bad UX,so let's have a look at what a offlinable app does:

you don't have to wait network response to you ,however the newly post will show on your view immediately,when post successful,

the color change to green from red.

2016-10-11 10_09_46.gif

when app lanuch agin,job start to send again.

2016-10-11 17_39_47.gif