Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 2.71 KB

Project Milestone #2 - Working UI with Dummy Data.md

File metadata and controls

32 lines (26 loc) · 2.71 KB

Project Milestone #2: Working UI with Dummy Data

For this milestone you will be creating an Android user interface for your application. This is to be the front-end of your application only so do not make make any requests to backend AWS services. Instead your front-end application should have realistic dummy data that will later (ie, in later milestones) be replaced with calls to such backend services.

Your user interface should include all views needed to meet the requirements documented in the "Requirements" section of the project overview. After milestone 2, only minor refactoring and beautification would be needed for the front-end of your project. The deliverable at this stage requires a functioning front-end for your project, not just a wireframe or mockup.

Design

Your design should include:

  • A view layer
  • A presenter layer
  • A model layer that includes entity and application logic classes. Entity classes represent the basic data items presented in your user interface. Application logic classes implement the client's functionality, such as logging in and sending statuses.
  • A lower layer with one or more proxy (or facade) classes that handle calls to the backend services. For this milestone your proxy classes will simply return dummy data.
  • AsyncTasks to avoid accessing network services or other slow running processes on the main UI thread. You are to use the observer pattern to communicate from lower to higher level layers in your application.

Sample Code

A sample project that includes a partially functional application and demonstrates an architecture that satisfies the above requirements is available on github at this URL. You are welcome to use this as a starter project for your own solution or to copy some or all of the code into your own project. A package diagram showing the architecture of the sample solution is available [here](Milestone 2 Architecture Diagram.pdf).

Testing

As a minimum, unit tests are provided for all presenter classes.

Rubric

  • [50 points] The spec defines 10 features you are to implement. Each features will be graded out of 5 for a total of 50 feature points, as follows:
    • 1 point for use of Model-View-Presenter (MVP)
    • 1 point for use of AsyncTasks and using observer pattern to return data
    • 1 point for use of facade pattern (to access "backend" dummy data)
    • 1 point for correct functionality
    • 1 point for unit tests for presenter
  • [15 points] For UML diagrams
    • 5 points for UML class diagram describing model classes
    • 5 points for UML class diagram describing user interface
    • 5 points for UML sequence diagram