摘要: 如果用ListView,让它滚动到顶部,一般是这样写的:if (!listView.isStackFromBottom()) { listView.setStackFromBottom(true);}listView.setStackFromBottom(false);但是,使用PullToRefr... 阅读全文
posted @ 2015-12-14 17:44 andlp 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 示例: 1 NotificationManager nm = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); 2 Notification n = new Notification... 阅读全文
posted @ 2015-12-14 10:05 andlp 阅读(263) 评论(0) 推荐(0) 编辑
摘要: github:https://github.com/wyouflf/xUtils3xUtils3简介xUtils 包含了很多实用的android工具.xUtils 支持超大文件(超过2G)上传,更全面的http请求协议支持(11种谓词),拥有更加灵活的ORM,更多的事件注解支持且不受混淆影响...x... 阅读全文
posted @ 2015-12-14 08:46 andlp 阅读(767) 评论(0) 推荐(0) 编辑