Skip to content

Here are some of the things you will find in this repo: Dependency Injection with Dagger 2 Making network requests with Retrofit Unit testing with Junit and Mockito Using test doubles in Espresso tests with Dagger 2 MVP Architecture, Navigation Component and multi module

Notifications You must be signed in to change notification settings

burakiren/MarvelHero

Repository files navigation

MVP Clean Architecture

A sample project using Clean architecture and MVP

Motivation

Auto learning and make an example of Clean Architecture with MVP are the principal motivation for this app

Clean architecture

The Clean architecture search to make independent our code from data sources, UI, Frameworks, Unit tests etc.

Make more testable the code

MVP

Model view presenter is one of the most used architectural pattern, in Android this pattern can be used with a few limitations, Activities and Fragments have more responsibility than a simple view, anywhere is a wonderfull pattern to be used in Android applications.

Apllication structure

There are 3 module in the project which has data, domain and presentation(app).

External Libs

This project use this external libs

  • Retrofit
  • Dagger 2
  • [Navigation Component]
  • [Unit Test]
  • [Room]
  • [Data Binding]
  • [View Binding]
  • [RxJava]
  • [Multi-Moduled]
  • [Cache]

Developer By

Burak İren

License

Copyright 2014 Burak İren

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Here are some of the things you will find in this repo: Dependency Injection with Dagger 2 Making network requests with Retrofit Unit testing with Junit and Mockito Using test doubles in Espresso tests with Dagger 2 MVP Architecture, Navigation Component and multi module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published