Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
/ GithubLister Public archive

Simple Github RepoList by Coding CleanArchitecture-MVVM-ArchitectureCompoents

Notifications You must be signed in to change notification settings

underwindfall/GithubLister

Repository files navigation

GithubLister

This project is coding based on mvvm clean architecure.

Architecture

Core

This package include all Extension,DI and BaseController(Activity,Fragment,ViewModel,Adapter)

Ui/Feature layer

Feature Layer is using mvvm to bind viewmodel with lifeCycleOwner controller. The controller will use viewmodel function to get data from repository.

LifeCycleOwner Controller could have different BehaviorObservers to implement different behavior into lifecycle. For example, ReactiveBehavior provides a CompositeDisposable to add different Observer actions.

Repository layer

Repository layer is an intermidate layer between ui feature and dataSource. The role of this layer is to build usecase and respository doing bussiness logic. It's very flexiable and extendable, could add LocalDataCache system in the future if we really need that.

DataSource layer

The Remote DataSource layer is tring to fetch data from network.

DataFlow

About

Simple Github RepoList by Coding CleanArchitecture-MVVM-ArchitectureCompoents

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages