public final class ViewControllers
extends java.lang.Object
Action1 for
IViewController, IArrayViewController and IFetchedArrayViewController.| Modifier and Type | Method and Description |
|---|---|
static <VM extends IViewModel,AVM extends IArrayViewModel> |
onDataSetChanged(IArrayViewController<VM,AVM> viewController)
Create an action which invokes
IArrayViewController.onDataSetChanged()
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
static <VM extends IViewModel> |
presentError(IViewController<VM> viewController)
Create an action which invokes
IViewController.presentError(IViewModelException)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
static <VM extends IViewModel,AVM extends IFetchedArrayViewModel> |
presentFetchingNextPage(IFetchedArrayViewController<VM,AVM> viewController)
Create an action which invokes
IFetchedArrayViewController.presentFetchingNextPage(boolean)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
static <VM extends IViewModel> |
presentLoading(IViewController<VM> viewController)
Create an action which invokes
IViewController.presentLoading(boolean)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
static <VM extends IViewModel,AVM extends IFetchedArrayViewModel> |
presentRefreshing(IFetchedArrayViewController<VM,AVM> viewController)
Create an action which invokes
IFetchedArrayViewController.presentRefreshing(boolean)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
static <VM extends IViewModel,AVM extends IArrayViewModel> |
setLocalizedEmptyMessage(IArrayViewController<VM,AVM> viewController)
Create an action which invokes
IArrayViewController.setLocalizedEmptyMessage(CharSequence)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
static <VM extends IViewModel> |
setTitle(IViewController<VM> viewController)
Create an action which invokes
IViewController.setTitle(CharSequence)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference. |
public static <VM extends IViewModel> rx.functions.Action1<java.lang.CharSequence> setTitle(IViewController<VM> viewController)
IViewController.setTitle(CharSequence)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.public static <VM extends IViewModel> rx.functions.Action1<java.lang.Boolean> presentLoading(IViewController<VM> viewController)
IViewController.presentLoading(boolean)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.public static <VM extends IViewModel> rx.functions.Action1<IViewModelException> presentError(IViewController<VM> viewController)
IViewController.presentError(IViewModelException)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.public static <VM extends IViewModel,AVM extends IArrayViewModel> rx.functions.Action1<java.lang.Integer> onDataSetChanged(IArrayViewController<VM,AVM> viewController)
IArrayViewController.onDataSetChanged()
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.public static <VM extends IViewModel,AVM extends IArrayViewModel> rx.functions.Action1<java.lang.CharSequence> setLocalizedEmptyMessage(IArrayViewController<VM,AVM> viewController)
IArrayViewController.setLocalizedEmptyMessage(CharSequence)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.public static <VM extends IViewModel,AVM extends IFetchedArrayViewModel> rx.functions.Action1<java.lang.Boolean> presentRefreshing(IFetchedArrayViewController<VM,AVM> viewController)
IFetchedArrayViewController.presentRefreshing(boolean)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.public static <VM extends IViewModel,AVM extends IFetchedArrayViewModel> rx.functions.Action1<java.lang.Boolean> presentFetchingNextPage(IFetchedArrayViewController<VM,AVM> viewController)
IFetchedArrayViewController.presentFetchingNextPage(boolean)
Note: The created action keeps a strong reference to viewController,
so when this is used with Observable, unsubscribe
to free this reference.