All Projects → chiragjain → CleanArchitecture

chiragjain / CleanArchitecture

Licence: other
Android App Architecture

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CleanArchitecture

Currency Converter Swift3.0 Viper
Calculates money quick and easy way to see live foreign exchange rates (Based on swift 4.2, viper architecture and special thanks to https://github.com/hakanensari/fixer-io for conversion API)
Stars: ✭ 198 (+1314.29%)
Mutual labels:  viper, clean-architecture
Vue Shopping Clean Architecture
Shopping cart app demonstrate clean architecture
Stars: ✭ 60 (+328.57%)
Mutual labels:  clean-architecture, unittest
Tdcapp
Sample app which access the TDC (The Developer's Conference) REST API.
Stars: ✭ 55 (+292.86%)
Mutual labels:  clean-architecture, unittest
Viper Templates
Swift Xcode templates for creating VIPER architecture stacks
Stars: ✭ 33 (+135.71%)
Mutual labels:  viper, clean-architecture
Ios Architectures
Sample app for iOS architectures
Stars: ✭ 90 (+542.86%)
Mutual labels:  viper, clean-architecture
Swift Design Patterns
🚀 The ultimate collection of various Software Design Patterns implemented in Swift [Swift 5.0, 28 Patterns].
Stars: ✭ 85 (+507.14%)
Mutual labels:  viper, clean-architecture
Kotlinmvparchitecture
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!
Stars: ✭ 143 (+921.43%)
Mutual labels:  clean-architecture, unittest
Rxviper
Android micro framework for developing apps based on clean VIPER architecture.
Stars: ✭ 112 (+700%)
Mutual labels:  viper, clean-architecture
Go-Clean-Architecture-REST-API
Golang Clean Architecture REST API example
Stars: ✭ 376 (+2585.71%)
Mutual labels:  viper, clean-architecture
Clean-Architecture-Template
Configurable Clean Architecture template containing the DDD + CQRS approach for .NET Core applications.
Stars: ✭ 14 (+0%)
Mutual labels:  clean-architecture
Go-gRPC-RabbitMQ-microservice
Go gRPC RabbitMQ email microservice
Stars: ✭ 107 (+664.29%)
Mutual labels:  clean-architecture
goscription
Goscription is skeleton project with simple design & clean code with Go
Stars: ✭ 36 (+157.14%)
Mutual labels:  viper
SwiftObserver
Elegant Reactive Primitives for Clean Swift Architecture #NoRx
Stars: ✭ 14 (+0%)
Mutual labels:  clean-architecture
nodejs-clean
Clean Architecture with Node.js + Express.js
Stars: ✭ 136 (+871.43%)
Mutual labels:  clean-architecture
whatsApp clone
Flutter WhatsClone (with Firebase + Clean Architecture) this app follow clean architecture proposed by our friendly Uncle Bob.
Stars: ✭ 181 (+1192.86%)
Mutual labels:  clean-architecture
UseCases
This a library that offers a generic implementation of the data layers from the clean architecture by Uncle bob.
Stars: ✭ 23 (+64.29%)
Mutual labels:  clean-architecture
dotnet-webapi-boilerplate
Clean Architecture Template for .NET 6.0 WebApi built with Multitenancy Support.
Stars: ✭ 2,200 (+15614.29%)
Mutual labels:  clean-architecture
android-clean-architecture
Android Sample Clean Architecture App written in Kotlin. (MVVM, dagger2, RXjava, data binding, Live data,room)
Stars: ✭ 29 (+107.14%)
Mutual labels:  clean-architecture
CleanTesting
Sample code for the Clean Testing talk.
Stars: ✭ 72 (+414.29%)
Mutual labels:  clean-architecture
RocketXDelight-Playground
Native Android application built with Kotlin and Jetpack Compose. This project also illustrates the usage of advanced libraries such as Ktor, SqlDelight, Hilt, etc with the recommended practices and Unit Tests.
Stars: ✭ 37 (+164.29%)
Mutual labels:  unittest

Clean Architecture for Android

I commenced with simple VIPER architecture and tried to solve different problems by focussing on how the make presenter testable using only local unit test-cases.

As per VIPER with some customization, we have following components -

  1. View : Activity, Fragments, Dialog Fragments etc.
  2. Presenter : Presenter will contain all view logic and generate a view-model and provide it to the view. With any action on view, view-model can be updated by presenter.
  3. View-Model : It is a POJO which represents our view.
  4. Interactor : It will take care of different data sources like database, network etc. It will also contain business logic. It will provide data like location, sensors etc. from android system-services. All the data will be provided in the form of an entity.
  5. Entity : It is a POJO for our data.
  6. Navigator : It will contain methods like finish, showToast, startActivity, showProgressDialog etc. This class will be injected in presenter for routing and android related events. This will be mocked at the time of testing presenter.
  7. Prefs and Resource Provider : Prefs is a wrapper class for preferences whereas ResourceProvider is a wrapper class for resources. These classes can be injected in presenter as per the requirement and can be mocked at the time of testing presenter.


picture alt


For more detail go to this article.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].