RxJava Android



rx.android.subscriptions
Class AndroidSubscriptions

java.lang.Object
  extended by rx.android.subscriptions.AndroidSubscriptions

public final class AndroidSubscriptions
extends java.lang.Object


Method Summary
static rx.Subscription unsubscribeInUiThread(rx.functions.Action0 unsubscribe)
          Create an Subscription that always runs unsubscribe in the UI thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unsubscribeInUiThread

public static rx.Subscription unsubscribeInUiThread(rx.functions.Action0 unsubscribe)
Create an Subscription that always runs unsubscribe in the UI thread.

Parameters:
unsubscribe -
Returns:
an Subscription that always runs unsubscribe in the UI thread.