Git Product home page Git Product logo

aspire_task's Introduction

Exercise 1

To complete this exercise successfully, you need to do the following:

  1. Clone the android-exercises repo to your computer.
  2. Import WW-Exercise-01 project into Android Studio.
  3. Read and implement the User Stories below.
  4. Run the application in the Emulator or on an Android device.
  5. Ensure the app displays correctly when the orientation changes.
  6. Submit your completed updates to the android-exercises repo using a pull request.

You may implement any architecture or use any libraries you feel are necessary. We are looking to see what production quality code looks like to you. Please avoid using code generators like http://androidstarters.com as the team will not be able to evaluate your work.

User Stories

  1. As a user, when I make a request to the endpoint, https://www.weightwatchers.com/assets/cmx/us/messages/collections.json, then I would like to see an image and title of each object in the response.
  2. As a user, when I click on an item, then I would like to see a snackbar showing the filter associated with the item.
  3. As a user, when I rotate my device, I would like to maintain my state.
  4. Implement tests for the code you wrote like (/* i implemented tests for repository when getting the data also for ViewModel when getting the data */).

Bonus Points

  • Support dark mode in your design. (/when the app is in dark mode the screen is black before loading the images also will be white if the light mode is on/).
  • Display an empty state view (/if the response is empty if the list is empty there will appear a text empty/).
  • Display an error message if the request fails. (/if anything went wrong then there will appear an error dialog showing details about the error the and there will be a button retry when you click on it it will call the api again/).

aspire_task's People

Contributors

yousef1994 avatar

Watchers

 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.