38

andriod搭建自己的轮询框架

 5 years ago
source link: https://juejin.im/post/5c2e0e1ae51d454671452864
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言 很多时候Android应用需要每间隔一段时间向服务器请求数据,如果服务器数据有更新则通知界面变化。Android中最常用的红点一般采用的就是轮询,红点是为了在数据有更新时及时的提醒用户,比如朋友圈更新,当用户的朋友圈更新时就会显示红点,就是通过移动端不断

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK