A consumer for accessing the AIFA drug archive services.
Before development: a little bit of reverse engineering of the AIFA services and testing with Postman (sample postman collection here)
This application aims to adopt some of the best practices in Android development. In particular, exploiting Dagger 2 and RxJava 2 this application implements the Model View Presenter pattern delegating the Activity to subscribe/unsubscribe to/from a cached version of an Observable, owned by the Presenter, emitting the requested data, thus surviving to configuration changes and preserving the request state. The Presenter, in turns, has the ability to release, if required, the un-cached version of the Observable, thus avoiding waste of resources.