Code Monkey home page Code Monkey logo

shiftkeycodingchallenge's Introduction

The Problem

Our providers in Dallas, TX need the ability to see nearby shifts available on the ShiftKey platform to plan their work week. Your goal is to build an user interface that allows them to accomplish this.

Details

Use the MainActivity to get started. Using an address of "Dallas, TX", display one week of nearby shifts that come back from the Available Shifts API in a list. The shift cell should include information relevant to the provider and when tapped, it should present a different screen to display more information about the shift.

The coding challenge should take around 2-4 hours. The submitted code should reflect what you feel represents your best work.

You should be prepared to talk about your solution in an interview setting.

To start working on the challenge, clone this repo onto your development machine. Commit your changes there and when finished, publish your repo on your public bitbucket or github account.

Requirements

  • Written in Kotlin
  • Fetches available shifts using the Available Shifts API with an address of "Dallas, TX"
  • On app launch, the current week of shifts should be fetched and displayed, starting with today's date
  • Scrolling to the end of the current week on the list loads shifts for the next week
  • Tapping on a shift cell should present a shift details screen with shift details
  • Use of 3rd party libraries is allowed. But, be thoughtful about which libraries are used and why

What are we looking for?

  • Solid architecture
  • Use of design patterns
  • Follow Material design principles
  • Experience with android architecture components
  • Familiarity with libraries/frameworks
  • Testability

Marjor design pattern and Android components used

Show case of

  • MVVM architecture,
  • ViewModel coroutine scope
  • RecycleView and it's adapter
  • Pull to Refresh layout for the detailed view
  • Jetpack Navigation for future scalability,
  • Databinding to simplify coding in UI(activity) by moving the binding to layout file,
  • LiveData observed in UI to avoid ANR and comply with single responsibility design principle

shiftkeycodingchallenge's People

Contributors

catechie avatar jlz 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.