摘要: 链接:https://github.com/chrisbanes/ActionBar-PullToRefresh 之前工程中使用的 pull-to-refresh控件有些小Bug,到 Github上一看,chrisbanes新做了一个下拉刷新控件,使用了 ActionBar。 下载完 zip包之后,解压得到3个文件夹 [extras] [library] [samples],一导入发现各种错误。 仔细看了下代码,出错原因是作者使用了 gradle,并且导入了 SmoothProgressBar控件。 那么需要如何导入 Sample到 Eclipse中呢? 1. 下载 SmoothPr... 阅读全文
posted @ 2013-12-11 18:45 海通 阅读(1996) 评论(4) 推荐(0)
摘要: 链接:http://developer.android.com/reference/android/os/AsyncTask.html2.1 Usage2.2 Threading rules2.3 Memory observability2.4 Order of execution2.5 源码分析2.6 小结 AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI ... 阅读全文
posted @ 2013-11-07 16:58 海通 阅读(374) 评论(0) 推荐(0)
摘要: 链接:http://developer.android.com/guide/topics/appwidgets/index.html1.1 The Basics1.2 Declaring an App Widget in the Manifest1.3 Adding the AppWidgetProviderInfo Metadata1.4 Creating the App Widget Layout1.5 Using the AppWidgetProvider Class1.6 Creating an App Widget Configuration Activity1.7 S... 阅读全文
posted @ 2013-09-15 10:20 海通 阅读(436) 评论(0) 推荐(0)