Skip to content

Sample project using MarvelApi that loads a list of characters and a screen with additional details.

Notifications You must be signed in to change notification settings

ch4vi/MarvelHeroes

Repository files navigation

Marvel Heroes App

Sample project using MarvelApi that loads a list of characters and a screen with additional details.

Introduction

This project is a conceptual Android app using Paging3 library with Room and a Network client to load the data. I also used MVVM with ViewModels dispatching ViewStates, Koin as DI, Flow and LiveData for background tasks.

Observations

Paging3 is quite an intrusive library that makes it hard to implement with existing classes, in my case, utility classes and interfaces that I like to use. The character detail screen is receiving the full model by Arguments and then it calls the API another time to load it again, this second step would not be necessary but I wanted to add the second API call to implement a non paginated and non cached request.

Author

  • Javi Anyó

LinkedIn

About

Sample project using MarvelApi that loads a list of characters and a screen with additional details.

Topics

Resources

Stars

Watchers

Forks

Languages