MVVM + Clean + Hilt + Mockk

Last update: Nov 6, 2021

Android - MarvelApp

What is this repository for?

  • This repository is to show you my skills programming native Android. If you are interested in my profile, you can take a look in order to value my experience. You can feel free to to make comments, suggestions or simply contact me if you think that I can add value to your company/startup or whatever.

Quick summary

  • The repo is an small application that show the Marvel characters. It was written in Kotlin language. I used the latest android technologies such as AndroidX Jetpack components. Additionally I'm using:
    • Coroutines
      • Suspend functions
      • Cold stream with Flow.
    • App separated in layers following the clean architecture guidelines with and app module and core modules.
    • Hilt for Dependency Injection.
    • Android architecture components.
      • LiveData.
      • ViewModel.
      • MVVM Architecture in the presentation layer.
      • Lifecycle extensions.
    • Networking
      • Retrofit for requests
      • Gson for serialize/deserialize objects.
    • Fragments in order to draw screens and support landscape split mode and tablets.
    • Material Design components.
    • Patterns
      • Repository.
      • Singleton.
    • Animations.
    • Test
      • JUnit.
      • Mockito.
      • MockKotlin

The project include the below features.

  • Pull to Refresh
  • Pagination support
  • App state-preservation/restoration
  • Indicator of unread/read post (updated status, after post it’s selected)
  • Dismiss Post Button (remove the cell from list. Animations required)
  • Support split layout (left side: all posts / right side: detail post)

Resources

Outstanding issues

  • Implement Room in order to complete the repository pattern.
  • Fix UI bugs when split mode is showing.
  • Complete test cases.

GitHub

https://github.com/gonzalo-gerez/marvelapp
You might also like...

NY Times - New app built using MVVM and Hilt

NY Times - New app built using MVVM and Hilt

NYTimes A simple app to hit the NY Times Most Popular Articles API and show a li

Jan 30, 2022

AAC MVVM + Clean Architecture + Coroutine Flow

GithubBrowser MVVM Clean Architecture Sample AAC MVVM + Clean Architecture + Coroutine Flow 본 샘플 프로젝트는 https://github.com/omjoonkim/GitHubBrowserApp 을

May 25, 2022

An Android Template with MVVM and Clean Architecture

An Android Template with MVVM and Clean Architecture

MVVMTemplate 🧞‍ A simple Android template that lets you create an Android project quickly. How to use 👣 Just click on button to create a new repo st

Jun 17, 2022

Playground project built with MVVM with Clean Artchitect to try out new tech in Android 🌍

Clean-MVVM-Playground Playground project built with MVVM with Clean Artchitect to try out new tech in Android 🌍 Features 🕹 100% Kotlin Following MVV

Jun 7, 2022

Clean Architecture - Kotlin, MVVM, Use cases

Clean Architecture - Kotlin, MVVM, Use cases

CleanArchitecture Is Clean Architecture only MVVM ? NO, MVVM is a part of clean architecture. MVVM includes Model, View and ViewModel and in addition

Jun 20, 2022

A simple Cat Search app, performed the search by cat breed name, using MVVM clean Architecture.

 A simple Cat Search app, performed the search by cat breed name, using MVVM clean Architecture.

CatSearchApp A simple Cat Search app, performed the search by cat breed name, using MVVM clean Architecture. The App is using the The Cat Api for sear

Oct 21, 2021

Image Search used MVVM with Clean Architecture

ImageSearchCleanArch Readme In this project I used MVVM with Clean Architecture. MVVM provides a clean separation of concerns between user interface a

Jun 14, 2022

An android app built using Kotlin following Multi-Module Clean Architecture MVVM

An android app built using Kotlin following Multi-Module Clean Architecture MVVM

RickyandMorty An android app built using Kotlin that consumes RickyadMorty API to display characters.It has been built following Clean Architecture Pr

Jun 6, 2022

JeTaxi is built on Clean Architecture-MVVM with Kotlin and follows modern android development trends.

 JeTaxi is built on Clean Architecture-MVVM with Kotlin and follows modern android development trends.

JeTaxi is built on Clean Architecture-MVVM with Kotlin and follows modern android development trends. Also, It uses some of Jetpack and popular libraries. These are Kotlin Coroutine-Flow, kotlinx.serialization, Hilt, Compose, Accompanist, Retrofit2, OkHttp3, Chucker, MockWebServer, Truth.

May 19, 2022
Related tags
Android Clean Architecture💎 Base Project Android with Kotlin and MVVM applying clean architecture
 Android Clean Architecture💎 Base Project Android with Kotlin and MVVM applying clean architecture

Android Clean Architecture?? Base Project Android with Kotlin and MVVM applying clean architecture

Jun 23, 2022
MVVM RECIPE ANDROID APP Is an app where I show how to use MVVM, retrofit, dagger hilt, coroutine, liveData, Kotlin, navigation component, and so on...
MVVM RECIPE ANDROID APP Is an app where I show how to use MVVM, retrofit, dagger hilt, coroutine, liveData, Kotlin, navigation component, and so on...

MVVM RECIPE ANDROID APP Is an app where I show how to use MVVM, retrofit, dagger hilt, coroutine, liveData, kotlin, navigation component, and so on...

Jun 22, 2022
A sample project in Kotlin to demonstrate AndroidX, MVVM, Coroutines, Hilt, Room, Data Binding, View Binding, Retrofit, Moshi, Leak Canary and Repository pattern.

This repository contains a sample project in Kotlin to demonstrate AndroidX, MVVM, Coroutines, Hilt, Room, Data Binding, View Binding, Retrofit, Moshi, Leak Canary and Repository pattern

Jun 17, 2022
Android Jetpack MVVM Boilerplate. Integrated with Jetpack dependencies, Hilt, Room, Okhttp, Retrofit, etc.
Android Jetpack MVVM Boilerplate. Integrated with Jetpack dependencies, Hilt, Room, Okhttp, Retrofit, etc.

Android Jetpack MVVM Boilerplate Android Jetpack MVVM Boilerplate a Jetpack based, MVVM boilerplate template project for Modern Android. Features Here

Jun 11, 2022
Simple Recipe/Dish list Android App that uses Compose, MVVM & Hilt.

Simple Recipe/Dish list Android App that uses Compose, MVVM & Hilt. This is the codebase that I am working on during my Youtube Live Stream (Link below...)

Jun 17, 2022
App kotlin with flow, paging 3, MVVM, Room, Dagger hilt

TMDBTest App kotlin with flow, paging 3, MVVM, Room, Dagger hilt Para compilar la app se tiene que descargar el proyecto. Luego poner la APIKEY de TMD

Jun 13, 2022
❤️ Android Ghibli using Hilt, Motion, Coroutines, Jetpack (ViewModel) based on MVVM architecture.

Glibhi ❤️ Android Ghibli using Hilt, Motion, Coroutines, Jetpack (ViewModel) based on MVVM architecture. Tech stack & Open-source libraries Minimum SD

Mar 11, 2022
This repository contains a detailed sample app that implements MVVM architecture using Hilt, Coroutines, Retrofit and Compose

Saber News App sample project to explain how to build solid, clean architected App using MVVM and repository architecture Techniques Kotlin Clean arch

Dec 26, 2021