Skip to content
Projekte

kanawish/android-mvi-sample

Auf GitHub ansehen

Über uns

Beispielimplementierung von MVI auf Grundlage der Architekturbeispiele von Google.

Weitere Projekte

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

android-mvi-sample

Example MVI implementation, based off of Google's architectural samples.

Description

This is a sample implementation of the Model View Intent pattern. Full Android examples for MVI are hard to find.

Target audience include, but not limited to:

  • Developers making the pivot from an imperative to declarative style of programming.
  • Developers looking for working example of functional or reactive programming on Android.

Here are some articles/examples explaining the core principles of MVI and unidirectional flow:

Key Application Components

Stack

One goal of this repo is to keep things as light as possible. The core libraries used are:

  • Kotlin
  • RxJava 2
  • RxBindings
  • RxRelay
  • Retrofit
  • Toothpick DI

If you require a very lightweight project, and still want to do MVI, it's not unreasonable to think you could do without RxJava. As of writing, RxJava dependencies weighs in at about ~2MB.

Once you grasp the basics, I suggest you explore the following existing libraries:

Ähnliche Projekte entdecken

Wird geladen…