Code Monkey home page Code Monkey logo

mailboxexample-mvp-viewmodel-repository-rxjava's Introduction

Functionality

This application mimics a simple icon for representing how much mail is in your inbox.

There are 3 buttons

  • Send yourself another mail
  • Read a mail
  • Real all your mail

The app starts with a mailbox of 97 messages, these are stored in memory, but accessed in a way that this could be a local storage or remote (api) endpoint of data.

The icon is empty if you have 0 mail. The icon has a mail if you have between 1-99 mails. The icon shows flames if you have over 99 mails. The icon keeps count of how much mail you have.

MVP Architecture with ViewModel, Repository & RxJava

Blog post is coming to explain this.

The example is based on the idea from the recent Android Dev Summit talk:

Understanding Compose

and whilst this repo doesn't use compose, it's a baseline so we can compare another repo/compose example against it.

mailboxexample-mvp-viewmodel-repository-rxjava's People

Contributors

blundell avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.