A sample Album list app that shows how to use ViewModels and Room together with RxJava & Dagger2, in Kotlin by Clean Architecture.

Last update: May 12, 2022

Kotlin-MVVM-Hilt

A sample Album list app that shows how to use ViewModels and Room together with RxJava & Dagger2, in Kotlin by Clean Architecture.

Implemented by Clean Architecture

The following diagram shows the structure of this project with 3 layers:

  • Presentation
  • Domain
  • Data

Scenario

Using of https://jsonplaceholder.typicode.com/ as a public api to generate fake data for testing.

  1. For fetch Album used this API https://jsonplaceholder.typicode.com/albums
  2. For fetch Photos of particular Album https://jsonplaceholder.typicode.com/photos by Required Params -> "albumId"

At a glance:

  • Create list of Albums with Vertical scrolling.
  • Each Album has some Photos which has to show Horizontally.
  • Both Horizontal and Vertical scroll will be infinite scrolling with data.
  • All the data will be stored locally, so if after 2-3 times opened Application it will work offline as well.

This Sample app included

  • Kotlin
  • Hilt-Dagger
  • Retrofit
  • Room
  • RxJava
  • LiveData
  • ViewModel
  • ViewBinding

GitHub

https://github.com/hiralpatel/Kotlin-MVVM-Hilt
You might also like...

Room - SleepQualityTracker app

 Room - SleepQualityTracker app

Room - SleepQualityTracker app This is the toy app for Lesson 6 of the Android App Development in Kotlin course on Udacity. SleepQualityTracker The Sl

Jun 10, 2022

ROOM Database Example with MVVM in Kotlin[Fragments,Navigation]

RoomDatabase_SampleApp Room Database Sample App Overview Of This Room Database Application In this app, we can do operation on room database | Insert,

Nov 3, 2021

This example was built for lecturing proposes, it shows how to consume data from an API.

Android Kotlin NewsMobEDJDCM2122 Example - EDJD 2021/2022 This example was wirten during the Mobile Computing lectures in the course 'Lincentura em En

Nov 8, 2021

An app to manage posts such as create, update, show the post list and detail also delete the post.

Otopost An app to manage posts such as create, update, show the post list and detail also delete the post. Minimum Requirements Software Android Studi

Oct 20, 2021

REST API with Retrofit, SQLite with Room, Hilt, MVVM, Jetpack Compose

REST API with Retrofit, SQLite with Room, Hilt, MVVM, Jetpack Compose

Simple REST API Learn how to make an Android App that will call a REST API using Retrofit to retrieve some data that will be stored in SQLite using Ro

Jun 5, 2022

Learn to work with databases on Android using the Room persistence library.

Bus Scheduler App This folder contains the source code for the Bus Scheduler app codelab. Introduction The Bus Scheduler app displays a list of bus st

Jun 20, 2022

Small project on using Room + MVVM + data binding

healthinfo This is a demo project that utilizes Room Database, MVVM, Data binding, Repositories, Retrofit and more to build an app that reads content

Nov 24, 2021

A sample photo browsing app in Kotlin, Android using Picsum image API.

A sample photo browsing app in Kotlin, Android using Picsum image API.

Picsum Photo App Functionality The app's functionality includes: Fetch a list of images from picsum photos api (https://picsum.photos/) and show them

Apr 27, 2022

Displays a list of albums using latest libraries

Albums Application Demo Displays a list of albums using latest libraries Used Clean Architecture #Domain: Contains the definitions of the business log

Nov 3, 2021
A sample app that demonstrate how to build an Android application using the Uncle Bob's Clean Architecture approach
A sample app that demonstrate how to build an Android application using the Uncle Bob's Clean Architecture approach

A sample app that demonstrate how to build an Android application using the Uncle Bob's Clean Architecture approach

Apr 8, 2022
A list of search results from the Yelp API and displays the results in a scrollable list
A list of search results from the Yelp API and displays the results in a scrollable list

Yelp clone displays a list of search results from the Yelp API and displays the results in a scrollable list.

Nov 12, 2021
Android Viper template with Kotlin, Dagger 2, Retrofit & RxJava
Android Viper template with Kotlin, Dagger 2, Retrofit & RxJava

Android VIPER Architecture Example This repository contains a detailed sample client-server app that implements VIPER(View-Interactor-Presenter-Entity

Jun 3, 2022
Saga of Star wars - An Android sample repo showcasing Clean Arch with MVVM and Epoxy models
Saga of Star wars - An Android sample repo showcasing Clean Arch with MVVM and Epoxy models

Star Wars Universe This is a showcase android application written in Kotlin and follows Clean Code architecture to showcase Characters from the StarWa

Mar 26, 2022
📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
📚  Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.

Android Components Architecture in a Modular Word Android Components Architecture in a Modular Word is a sample project that presents modern, 2020 app

Jun 16, 2022
Template for MVVM Architecture Clean Code.
Template for MVVM Architecture Clean Code.

MVVM Template Kotlin Template for MVVM Architecture. This is basic template for android app follwing MVVM architecture and latest tech stack. You don'

May 29, 2022
MVI Architecture Android Beginners: Sample App

MVI Architecture Android Beginners: Sample App This repository contains a sample app that implements MVI architecture using Kotlin, ViewModel, LiveDat

Apr 26, 2022
Android Modern Architecture Sample
 Android Modern Architecture Sample

AndroidModernArchitectureSample TODO: write readme Download (playstore release - under review) https://play.google.com/store/apps/details?id=io.github

Apr 29, 2022
Booking - Android Architecture Sample
 Booking - Android Architecture Sample

Booking - Android Architecture Sample A simple app that loads information from REST API to show one approach to using some of the best practices in An

May 3, 2022
Viper - Sample Viper (MVVMR) architecture pattern
Viper - Sample Viper (MVVMR) architecture pattern

Viper V I P E R = View + Interactor + Presenter + Entity + Router My versions Wi

Feb 7, 2022