Demo Android Material Design application showcasing a single activity with a RecyclerView and Cards.
The application is using 2 modules:
- core: contains internal data providers and core business logic
- app: contains base UI components, their implementations and dedicated data loaders.
Asynchronous calls using Retrofit 2.
Using GSON with a custom Type Adapter Factory mapping interfaces to implementations.
- Using AppCompat.
- Activities and Fragments have their own Intent Dispatcher and Image Fetcher instances which they provide to their data binders.
- Using a data loader which is calling the Core Data Provider on a background thread, then notifying the caller on the UI thread.
- Internal error conversion is handled by an Error Factory.
- API objects get converted to UI objects using adapters.
- Recycler Views have a UI State Coordinator attached to them which handles empty, error and with data states.
Modification of https://gist.github.com/XiaoxiaoLi/8031146
Butterknife, Picasso, Retrofit 2, AutoFitTextView, GSON, Mockito
Home Screen (API 22 Portrait)
Home Screen (API 22 Landscape)
Error Screen Variant 1 (API 22 Portrait)
Error Screen Variant 2 (API 22 Portrait)
Home Screen (API 19 Portrait)