All Projects → JoaquimLey → Avenging

JoaquimLey / Avenging

Licence: apache-2.0
MVP pattern example on Android: no Dagger or RxJava example

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Avenging

Transport Eta
Twitch streamed 🎥playground repo, README speaks to you.
Stars: ✭ 223 (-20.07%)
Mutual labels:  medium, article, architecture, unit-testing
Android Mvp Architecture
🏛 A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Stars: ✭ 203 (-27.24%)
Mutual labels:  architecture, mvp, mockito
EasyUtAndroid
Android unit testing example 全面的android应用单元测试方法及案例
Stars: ✭ 21 (-92.47%)
Mutual labels:  unit-testing, mvp, mockito
Phoenix Liveview Counter Tutorial
🤯 beginners tutorial building a real time counter in Phoenix 1.5.5 + LiveView 0.14.7 ⚡️
Stars: ✭ 115 (-58.78%)
Mutual labels:  tutorial, example, howto
Marvel
Marvel Characters Android Application Assigned by smava GmbH
Stars: ✭ 227 (-18.64%)
Mutual labels:  mvp, espresso, mockito
Viabus Architecture
让 Android 开发可以像流水线一样高效的,职责分离架构 ⚡ 不同于 MVP 的配置解耦,也不能和 似是而非 的 MVVM - Clean 同日而语。VIABUS 是世界范围内首个明确提出,通过职责分离,来真正实现 UI 和 业务并行开发的 Android 项目级开发架构和设计模式理念。
Stars: ✭ 485 (+73.84%)
Mutual labels:  architecture, mvp, retrofit
Reactnativecodereuseexample
Shows how to organize your code to reuse it as much as possible between Web, iOS and Android
Stars: ✭ 41 (-85.3%)
Mutual labels:  tutorial, example, howto
Mvvm Kotlin Android Architecture
MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit5
Stars: ✭ 1,014 (+263.44%)
Mutual labels:  mvp, espresso, mockito
Materialhome
一个基于 Material Design 风格设计的图书展示类App,豆瓣图书,在线电子书。
Stars: ✭ 331 (+18.64%)
Mutual labels:  api, mvp, retrofit
Jni By Examples
🎇Fun Java JNI By Examples - with CMake and C++ (or C, of course!) ‼️ Accepting PRs
Stars: ✭ 99 (-64.52%)
Mutual labels:  api, tutorial, example
Kotlinmvparchitecture
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!
Stars: ✭ 143 (-48.75%)
Mutual labels:  mvp, retrofit, unit-testing
TeamCityApp
TeamCity in your pocket (Android application)
Stars: ✭ 48 (-82.8%)
Mutual labels:  retrofit, mockito, espresso
Mvpandroid
Sample app to demonstrate MVP (Model - View - Presenter) architecture in android
Stars: ✭ 91 (-67.38%)
Mutual labels:  mvp, espresso, mockito
Android Starter
[Android Architecture] Android starter based on MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Android template project.
Stars: ✭ 522 (+87.1%)
Mutual labels:  architecture, espresso, mockito
Android tmdb clean architecture
Showcase of clean architecture concepts along with Continuous Integration and Development for modular Android applications. Includes test suits (functional and unit tests) along with code coverage.
Stars: ✭ 63 (-77.42%)
Mutual labels:  mvp, espresso, mockito
Espressif
all espressif stuff will committed here
Stars: ✭ 477 (+70.97%)
Mutual labels:  tutorial, example, howto
Kotlin Android Starter
[Kotlin Android] Kotlin Android starter based MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Kotlin Android project.
Stars: ✭ 589 (+111.11%)
Mutual labels:  mvp, espresso, mockito
Learn To Send Email Via Google Script Html No Server
📧 An Example of using an HTML form (e.g: "Contact Us" on a website) to send Email without a Backend Server (using a Google Script) perfect for static websites that need to collect data.
Stars: ✭ 2,718 (+874.19%)
Mutual labels:  tutorial, example, howto
mvp-sample
Demonstrates how to implement MVP (Model View Presenter) pattern using Kotlin, RXJava, Retrofit, Dagger and DataBinding
Stars: ✭ 35 (-87.46%)
Mutual labels:  mvp, mockito, espresso
Villains-and-Heroes
Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information about Marvel's vast library of comics. ⚡
Stars: ✭ 53 (-81%)
Mutual labels:  architecture, mvp, espresso

AppIcon

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 didn’t 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
  • CI_ PUBLIC_KEY = < YOUR-PUBLIC-KEY >
  • CI_ PRIVATE_KEY = < YOUR-PRIVATE-KEY >

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

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

Mind the markedown spaces.

Dependencies

CORE

  • 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.

MOBILE

  • 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

WEAR

  • 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

Contributing

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.

License

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

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.
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].