Package moxy.presenter
Annotation Type ProvidePresenter
-
@Target(METHOD) @Retention(RUNTIME) public @interface ProvidePresenterCalled when Moxy can't find the right presenter instance in thePresenterStore.Attention! Don't use manually the method marked with this annotation! Use a presenter field whichever you want. If you override this method in a derived class, make it return the same type (not a requirement but recommendation).
Requirements:
- Method should return strictly the same class as the presenter field type
- Presenter Types should be the same
- Tags should be equal
- Presenter IDs should be equal
Note: if this method stays unused after the build, then Moxy'll never use this method and you should check annotation parameters. These parameters should be equal to @InjectPresenter parameters
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringEMPTY
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringpresenterIdjava.lang.Stringtag
-