![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
未来时光
一名流浪街头的狗
展开
-
chrisbanes / Android-PullToRefresh 控件使用(一)
1. 下拉刷新事件mPullRefreshListView.setOnRefreshListener(new OnRefreshListenerListView>() {这里应该使用多线程,避免阻塞}});2. 设置 刷新之后的labelrefreshView.getLoadingLayoutProxy().setLastUpdatedLabel(label);原创 2012-12-27 12:07:18 · 4273 阅读 · 1 评论 -
Android 下拉刷新控件 推荐之 chrisbanes / Android-PullToRefresh
Android 下拉刷新最开始源于 ios 系统的体验,后来国外的 johannilsson 写了第一份开源控件(https://github.com/johannilsson/android-pulltorefresh),后来许多国内的码农在此基础之上修改了很多,但是体验不尽完好,最终找到了 chrisbanes (https://github.com/chrisbanes/Android原创 2012-12-27 11:41:48 · 6210 阅读 · 3 评论 -
android activity 动画切换
转自 : http://www.eoeandroid.com/thread-192793-1-1.html我在做Activity切换动画的时候用的一般是overridePendingTransition(int enterAnim, int exitAnim)方法设置Activity进入与退出的动画,但是经过测试发现这个方法能够显示动画的前提是系统的动画效果是打开的,也就是说当用户的手机如果没转载 2013-01-05 17:40:24 · 818 阅读 · 0 评论 -
android 键盘从底部弹出
在相应的activity 的 xml 文件 里 添加 android:windowSoftInputMode="stateAlwaysHidden|adjustResize"原创 2013-01-16 17:08:42 · 812 阅读 · 0 评论 -
编译 Android 源代码 之路一
编译Android源代码原创 2014-07-18 19:55:53 · 2171 阅读 · 0 评论