GithubHelp home page GithubHelp logo

notes's People

Contributors

kvizcarra avatar

Watchers

 avatar

notes's Issues

Add support for deleting notes

  • Note detail: delete option in Toolbar
  • Note list: Tap and hold menu (which allows multi-selection) with delete option.

Implement Room persistence library

Implement the new Room persistence library in the following places:

  1. Note detail
    1. Load an existing note
    2. Save a new note
  2. Note list
    1. Load note list
    2. Load note list after new or updated note

Refactor to follow MVVM architecture

Refactor the project to follow the MVVM architecture pattern. This reorganizing will be important for unit testing in a future issue.

View

  • Activity
  • Fragment

ViewModel

  • Android Architecture ViewModel

Model

  • Repository
  • Android Architecture Room and DAO

The View should observe LiveData returned from the ViewModel for any data changes. The ViewModel will expose CRUD methods for any class, in this case the View, to call. The ViewModel will relay CRUD calls to a repository in the Model layer. The repository talks to Room through DAOs and returns LiveData.

Interfaces should be used for communication between classes.

Add note detail page

Add a detail page that shows when you tap a note in the note list. It should show the title and value of the note in EditTexts. The same detail page but with empty EditTexts should be shown when the FAB is pressed.

Inserting and updating a note implementation is in issue #3.

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.