public enum PresenterType extends java.lang.Enum<PresenterType>
PresenterStore, PresentersCounter and MvpPresenter.onDestroy()
Date: 17-Dec-15 Time: 19:31
| Enum Constant and Description |
|---|
GLOBAL
Global presenter will be destroyed only when process will be killed(
MvpPresenter.onDestroy() won't be called) |
LOCAL
Local presenter are not available out of injectable object
|
WEAK
Weak presenters are available everywhere.
|
| Modifier and Type | Method and Description |
|---|---|
static PresenterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresenterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenterType LOCAL
public static final PresenterType WEAK
public static final PresenterType GLOBAL
MvpPresenter.onDestroy() won't be called)public static PresenterType[] values()
for (PresenterType c : PresenterType.values()) System.out.println(c);
public static PresenterType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null