/agera

Reactive Programming for Android

Primary LanguageJavaApache License 2.0Apache-2.0

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.3.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.3.0'
  compile 'com.google.android.agera:database:1.3.0'
  compile 'com.google.android.agera:net:1.3.0'
  compile 'com.google.android.agera:rvadapter:1.3.0'
  compile 'com.google.android.agera:rvdatabinding:1.3.0'

FAQ: What's the relation with RxJava?

See this issue.

Links

(Unofficial) wiki translations

(Unofficial) Extensions