Skip to content

yuy516/FetchCodingExercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fetch Rewards Coding Exercise - Software Engineering - Mobile

Task

Please write a native Android app in Kotlin or Java that retrieves the data from https://fetch-hiring.s3.amazonaws.com/hiring.json.

Display this list of items to the user based on the following requirements:

  • Display all the items grouped by "listId"
  • Sort the results first by "listId" then by "name" when displaying.
  • Filter out any items where "name" is blank or null.

The final result should be displayed to the user in an easy-to-read list.

Please make the project buildable on the latest (non-pre release) tools and supporting the current release mobile OS.

Environment

Android Studio (flamingo)

Programming Language

Java

Java files

RetrofitClient.java: create a `RetrofitClient` class to configure the Retrofit instance, which will be used to send network requests

Api.java: declare the endpoints that Retrofit will interact with.

Item.java: Create a class to represent the structure of each item in the JSON response

MainActivity.java: use the Retrofit client to fetch data from the API, sort the data and display the data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages