Awesome Open Source
Awesome Open Source


Avenging - MVP project

Android Arsenal MaterialUp Build Status codecov Codacy Badge minSdkVersion compileSdkVersion

Read more on the blog post: Avening - MVP without RxJava or Dagger

Android app built with an MVP approach without RxJava or Dagger.

Uses Marvel Comics API as a service which contains all the information about its vast library. Data provided by Marvel. 2016 MARVEL

What is MVP (ModelViewPresenter)?

  • View is a layer that displays data and reacts to user actions. On Android, this could be an Activity, a Fragment, an android.view.View or a Dialog.
  • Model is a data access layer such as database API or remote server API.
  • Presenter is a layer that provides View with data from Model. Presenter also handles background tasks.

Most of the modern Android applications just use View-Model architecture. Programmers are involved into fight with View complexities instead of solving business tasks. Using only Model-View in your application you usually end up with "everything is connected with everything", which translates into harder scalability. With the MVP approach it easier to understand the role of each element. You didnt became a developer to be wasting time on boring code maintenance, but to build awesome stuff!

Mobile List Mobile Profile Mobile Comic Mobile Search Mobile List Error

Wear List Default Wear List Gallery Wear List Loading Wear List Error

This sample is available

Get it on Google Play

Configs & API authentication

If you wish to run your own CI (I'm using Travis) ensure you have the following environment variables on your CI config:

  • IS_ CI_JOB = true

To run locally have your private and public keys in your file (project's root folder).

  • marvelPublicKey = < YOUR-PUBLIC-KEY >
  • marvelPrivateKey = < YOUR-PRIVATE-KEY >

Mind the markedown spaces.



  • Retrofit A type-safe HTTP client for Android and Java
  • Jackson A default ObjectMapper instance will be created or one can be configured and passed to the JacksonConverter construction to further control the serialization.
  • Mockito Mocking framework for unit tests written in Java
  • LeakCanary A memory leak detection library for Android and Java.


  • Design Support Library The Design package provides APIs to support adding material design components and patterns to your apps.A flexible view for providing a limited window into a large data set.
  • Picasso A powerful image downloading and caching library for Android
  • Espresso Use Espresso to write concise, beautiful, and reliable Android UI tests


  • Play Services Google Play services.
  • Google Support Support v4 This library is designed to be used with Android 1.6 (API level 4) and higher. It includes the largest set of APIs compared to the other libraries
  • Picasso A powerful image downloading and caching library for Android

Issues: Fell free to open a new issue. Follow the ISSUE_TEMPLATE.MD


Contributions are always welcome!

Follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Merge with current development branch
  5. Push your work back up to your fork
  6. Submit a Pull request your changes can be reviewed (please refere the issue if reported)

Prevent code-style related changes (at least run Ctrl++O, ++L) before commiting.


Copyright  2016 Joaquim Ley

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
Alternatives To Avenging
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (397,509
Tutorials (23,674
Article (14,123
Continuous Integration (12,640
Rxjava (4,227
Medium (3,865
Mvp (3,631
Unit Test (2,760
Unit Testing (2,165
Example App (1,849
Dagger (1,798
Espresso (1,046
Mockito (946
Marvel (862
Uitest (80