Skip to content

A consumer for accessing the AIFA drug archive services

Notifications You must be signed in to change notification settings

andbard/AifaServicesConsumer

Repository files navigation

AifaServicesConsumer

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.

About

A consumer for accessing the AIFA drug archive services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages