Agera

Additional

Language
Java
Version
v1.4.0 (Feb 27, 2018)
Created
Dec 17, 2015
Updated
Jan 13, 2022 (Retired)
Owner
Google (google)
Contributors
Jesse Wilson (swankjesse)
Drakeet (drakeet)
Chau Thai (chthai64)
Max Cai (maxtroy)
Jose Alcérreca (JoseAlcerreca)
Xuebin (bxbxbai)
rayworks
Johan Gardell (gardell)
Kushal Sharma (kushalsharma)
wrkben
10
Activity
Badge
Generate
Download
Source code

Reactive Programming for Android

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.

Links

(Unofficial) wiki translations

(Unofficial) Extensions