No Fragments, Loaders, or AsyncTasks 4 Strict about Android code vs Java code 4 Use patterns and conventions Unconventional Android v3 | Richard Cirerol | @codeprogression
from consumers 4 Allows for further customization 4 May look similar to the Retrofit interface, but... 4 Service/API interfaces can vary independently Unconventional Android v3 | Richard Cirerol | @codeprogression
of events 4 Presenter delegates work to a service (the model) 4 Presenter updates the view with results from the model Unconventional Android v3 | Richard Cirerol | @codeprogression
view interface - Implement the interface in your custom view - Instrument the view from the presenter Unconventional Android v3 | Richard Cirerol | @codeprogression
On load, attach the view (interface) to the presenter - On unload, detach the view from the presenter - While attached, delegate work and update the view Unconventional Android v3 | Richard Cirerol | @codeprogression
a view model - Use view model variables in your layout markup - Instrument the view model from the presenter Unconventional Android v3 | Richard Cirerol | @codeprogression
- Create the view model object - On load, attach the view model to the presenter - On unload, detach the view model from the presenter - While attached, delegate work and update the view model Unconventional Android v3 | Richard Cirerol | @codeprogression