ZOYKU火线榜

google/agera技术文档

google/agera open-source repository on GitHub

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/google/agera.git

Agera

Reactive Programming for Android

Build Status Coverage Download

Agera is a set of classes and interfaces to help write functional, asynchronous, and reactive applications for Android.

Requires Android SDK version 9 or higher.

Usage

To add a dependency using Gradle:

  compile 'com.google.android.agera:agera:1.4.0'

Learn about Agera

Experimental Sample Extensions

A few experimental sample extension libraries for Agera are also provided. These are:

  • Content - For android.content interaction, such as BroadcastReceiver and SharedPreferences
  • Database - For SQLiteDatabase interaction
  • Net - For HTTPUrlConnection interaction
  • RVAdapter - For RecyclerView interaction
  • RVDatabinding - For RecyclerView data binding interaction

To add dependencies to these using Gradle:

  compile 'com.google.android.agera:content:1.4.0'
  compile 'com.google.android.agera:database:1.4.0'
  compile 'com.google.android.agera:net:1.4.0'
  compile 'com.google.android.agera:rvadapter:1.4.0'
  compile 'com.google.android.agera:rvdatabinding:1.4.0'

FAQ: What's the relation with RxJava?

See this issue.

(Unofficial) wiki translations

(Unofficial) Extensions

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-07