Skip to content

Skeleton Android application to be completed to evaluate potential candidates.

Notifications You must be signed in to change notification settings

ingriddreal/android-test

Repository files navigation

AlayaCare Android skill test

What's included

The repo contains a skeleton Android application created using Android Studio 2.2 and Gradle 2.2. The app contains a couple of empty files to start you off:

  • NoteActivity: An empty activity to display a list of notes.
  • NoteModel: An empty data model to represent a note entity.
  • activity_note.xml: An empty XML view for the note activity.

Requirements

  • Android Studio 2.2
  • Gradle 2.2 (can be installed using Android Studio)
  • Android SDK tools necessary platforms (can be installed using Android Studio SDK Manager)
  • A github account

Installation

  • Fork this repository
  • Open the directory in Android Studio 2.2
  • The app should build and run if all requirements are met

Instructions

The goal of this exercise is to create a very simple note app by following the tasks below. Try and have each commit represent a completed task. Code should be clear, easy to read, and modular. First fork this repository, then commit your changes and create a pull request when you're done (See How to submit your work?). The provided files can be used as a guideline, but add or remove whatever other files you need.

  • TASK 1: Create a data source for the notes:

    • create a note model that can capture the text entered by a user and the date the user created the note
    • create a simple mock data source to return a list of fake notes asynchronously
  • TASK 2: Display a list of notes in the note activity:

    • use the mock API to populate the list
    • each list item should display the note text and date
  • Task 3: Implement logic for creating a new note:

    • do this however you want
    • storage can be in memory
    • note text should not be empty
    • new notes should appear in the note activity
  • Task 4: Add search functionality to your list of notes:

    • search should support matching to any part of the note text
  • OPTIONAL Task 5: Save, edit and delete notes

    • create a database to persist the notes
    • remove your mock data source and save new notes to your database
    • add an option to edit and delete a note from the list

How to submit your work?

  1. First you need to fork this repository.

Forking a repo

  1. Then clone your fork locally.

Cloning a repo

  1. Install the app locally. See the [Installation Guide] (#Installation).
  2. Once you've completed your work, you can submit a pull-request to the remote repository.

 a Pull Request

  1. Review your changes and validate.

Validating a Pull Request

And you're done!

More documentation on Github:

About

Skeleton Android application to be completed to evaluate potential candidates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages