Coder Social home page Coder Social logo

test-interactivestandard's Introduction

Test Assignment for Android Developer


You are required to develop a mobile application for Android using Kotlin. The application should request a certain number of coordinate points (x, y) from a server, and then display the received response in the form of a table and a graph.
The main screen should have a block of informational text, a field for entering the number of points, and a button labeled "Let's Go".
Upon pressing the button, a request is made to the server's API (GET /api/test/points), with the parameter specifying the number of points to request (count).
The server responds with an array of points in JSON format, for example: {" points":[{"x":1.23, "y":2.44},{"x":2.17, "y":3.66}]}
API Specification: https://hr-challenge.interactivestandard.com/swagger-ui.html?urls.primaryName=mobile
If an incorrect number of points is requested, the server returns an error. Additionally, the server might experience occasional outages.
If a response is received from the server, a new screen should display a table with the received coordinate points. Below the table, a graph should be displayed with points connected by straight lines. The points on the graph should be arranged in ascending order of the x-coordinate.
The following additional graph functionalities should be implemented:
  • User-scalable functionality
  • Support for both portrait and landscape screen orientations
  • Capability to share the graph image

Architecture: Clean architecture
Presentation Layer Architecture: Jetpack MVVM
Dependency Injection (DI): Hilt
Navigation: Jetpack Navigation
Asynchronicity: Kotlin Flow & Coroutines
Networking: Retrofit
Logging: Timber
Graphs: MPAndroidChart
Other: Jetpack Startup, Splash Screen, Single Activity, Fragments

The project (view models and mappers) is covered by unit tests using Mockk and kotlinx-coroutines-test.

test-interactivestandard's People

Contributors

m31wayfarer 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.