• Stars
    star
    445
  • Rank 98,085 (Top 2 %)
  • Language
    Kotlin
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Implemented by Clean Architecture, Hilt, MVVM, LiveData, RX, Retrofit2, Room, Anko

ArtGallery

A sample android 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


Communication between layers

  1. UI calls method from ViewModel.
  2. ViewModel executes Use case.
  3. Use case combines data from Album and Photo Repositories.
  4. Each Repository returns data from a Data Source (Cached or Remote).
  5. Information flows back to the UI where we display the list of posts.

Scenario

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

At a glance:

  • Created a list of Album
  • In the Item of each Album, showed Album name.
  • When user taps on Album, new page will be shown which includes list of photos.
  • when user taps on photo, show image bigger through transition.
  • Were Written tests to completely cover Exceptions/Expectations
  • And:
    • Supported orientation change
    • Supported offline mode

More Repositories

1

MusicPlayer

Implemented using Clean Arch, MVVM, LiveData, Room, Koin, Coil, Service, Notification and ExoPlayer
Kotlin
614
star
2

Android-Clean-Arch-Coroutines-Koin

Implemented by Clean Architecture, MVVM, Koin, Coroutines, Moshi, Mockk, LiveData & DataBinding
Kotlin
268
star
3

KotlinInterviewQuestions

Covers both theory questions and challenging code
Kotlin
134
star
4

Android-MVVM-RX3-Dagger2-NavComponent

Implemented using MVVM, LiveData, Room, RX3, Dagger2, Coil, View Binding, Navigation Component and AndroidX
Kotlin
82
star
5

Kotlin-MultiPlatform-Mobile

A Kotlin MultiPlatform Mobile(Android & iOS) Implemented by Compose, ViewModel, Coroutines, Ktor, and Koin
Kotlin
65
star
6

KotlinBaseProject

This is a base code for every Kotlin project in Android
Kotlin
23
star
7

LocationService

A tiny foursquare which implemented using Foursquare APIs ,Koin, Coroutines, Moshi, Room, Retrofit, ViewBinding and Google play services location
Kotlin
19
star
8

Android-MVVM-Hilt-RX3-KotlinDSL

Kotlin
14
star
9

CleanArchitecture

An implementation of Clean Architecture along with MVVM, Koin, Coroutines, Coil, Moshi, Mockk, LiveData, ViewBinding, ...
Kotlin
14
star
10

Toastest

Toastest is a library for customizing toasts. (supported anim)
Kotlin
12
star
11

Android-MVVM-MVP-RX

Used MVP, MVVM, Room, GreenDao, RX, Databinding
Kotlin
11
star
12

Android-Clean-Architecture-MVP-Dagger-RX

Implemented by Clean Architecture, Dagger2, MVP, RX, Retrofit2, Espresso, Mockito
Kotlin
7
star
13

WordGame

RX-Dagger2-MVVM-LiveData-DataBinding-UnitTesting
Kotlin
6
star
14

CreationalDesignPatternsSample

Including Builder, Factory method, Abstract Factory, Prototype and Singleton
Java
5
star
15

Android-MVP-Dagger-GoogleMaps

Implemented by Dagger, Google Maps, MVP, ButterKnife
Java
4
star
16

KotlinMultiplatformMobile

A Kotlin multiplatform mobile app.
Kotlin
3
star
17

ComposeMultiplatformApp

A Compose Multiplatform App (Android & iOS)
Kotlin
2
star