`
ipjmc
  • 浏览: 709239 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

CommonsWare Android Components

阅读更多

        CommonsWare Android Components或CWAC是一个开源组件库,能够用于解决Android开发中的各种解决方案问题。每一个CWAC组件都可以单独打包成一个微小的JAR文件,方便您把它添加到你的项目中。

        该项目主页:http://commonsware.com/cwac

当前提供的CWAC组件和它们的github仓库如下:

  1. cwac-adapter: 提供了一个AdapterWrapper,一个简单的封装类,默认情况下,代表所有ListAdapter的方法来包装ListAdapter。
  2. cwac-bus: 提供一组类来实现一个内部应用程序消息总线。这个组件专门针对服务与Activitie之间的通信,尤其是当Activitie可以在屏幕上旋转变换时。
  3. cwac-cache: 提供一组类用于为Android应用程序提供缓存服务。
  4. cwac-custmenu: 演示如何创建一个自定义的选项菜单,和一个Activity来配置菜单的选择顺序,这些顺序在运行期才会被应用。
  5. cwac-endless: Provides the EndlessAdapter, a wrapper for an existing ListAdapter that adds "endless list" capability. When the user scrolls to the bottom of the list, if there is more data for this list to be retrieved, your code gets invoked in a background thread to fetch the new rows, which then get seamlessly attached to the bottom of the list.
  6. cwac-merge: Provides the MergeAdapter, a ListAdapter that blends multiple Views or ListAdapters into a single ListAdapter. Use this for section headings, blending multiple sources of data together, etc.
  7. cwac-mmcursor: Provides MutableMatrixCursor, a variation on the Android built-in MatrixCursor, but one that supports removing rows in addition to adding them.
  8. cwac-sacklist: Provides SackOfViewsAdapter, which accepts a list of View objects and presents them in a ListAdapter.
  9. cwac-task: Provides AsyncTaskEx, a variation on the Android built-in AsyncTask class, but one that offers multiple threads processing tasks in parallel and an arbitrary number of pending tasks.
  10. cwac-thumbnail: Provides support for ListViews having thumbnail images in their rows, with those images being loaded from URLs and cached transparently in the background. Also offers a ThumbnailActivity as a subclass of ListActivity for further simplifiying thumbnail management.
  11. cwac-wakeful: Provides the WakefulIntentService, a refinement of the IntentService that keeps the device awake while background tasks are being processed. This is useful for work to be scheduled via the AlarmManager.

 

分享到:
评论

相关推荐

    android cwac-endless

    CommonsWare Android Components CWAC 是一个开源的Android组件库 用来解决Android开发中各个方面的常见问题 每个CWAC组件打包成一个队的jar文件 其中就包含cwac endlless cwac endless提供一个EndlessAdapter 这是...

    Android CWAC(组件库)

    Android CWAC,全称为"CommonsWare Android Components",是由知名Android开发者Mark Murphy(也被称为Commons Guy)创建的一个开源项目。这个项目旨在为Android开发者提供一系列独立的库,以解决在开发过程中遇到的...

    cwac-presentation,CWAC演示:简化了第二屏幕支持.zip

    CWAC(CommonsWare Android Components)是Android平台上一个知名的开源项目集合,由知名开发者Mark Murphy(也称为" Commons Guy")创建。这个项目旨在提供一系列的库和组件,以帮助开发者解决在Android开发中遇到...

    CWAC-ENDLESS

    "CWAC-ENDLESS"是项目的简称,其中"CWAC"代表"CommonsWare Android Components",这是Chris Wiggins开发的一系列Android库的总称,旨在解决Android开发中的常见问题。"ENDLESS"则表示这个组件专注于实现无限滚动的...

    CommonsWare.The.Busy.Coders.Guide.to.Android.Development.Version.8.2.2017

    Android, the next-generation open mobile platform from Google and the Open Handset Alliance, is poised to ...Publisher: CommonsWare Publication Date: 2016-06-06 ISBN-10: 0981678009 ISBN-13: 9780981678009

Global site tag (gtag.js) - Google Analytics