A simple Android app that reads in a list of countries and displays info about them in a RecyclerView. Is a programming assignment as part of the interview process with Walmart in April - May 2022 as described below:
- Fetch a list of countries in JSON format from this URL:
- Display all the countries in a RecyclerView ordered by the position they appear in the JSON. In each table cell, show the country's "name", "region", "code" and "capital" in this format:
| |
| "name", "region" "code" |
| |
| "capital" |
| |
For example:
| |
| United States of America, NA US |
| |
| Washington, D.C. |
| |
| |
| Uruguay, SA UY |
| |
| Montevideo |
| |
The user should be able to scroll thru the entire list of countries.
- The implementation should be robust (i.e., handle errors and edge cases) and support device rotation, activity being destroy in background.
Limit yourself to whatever time you have.
The goal is to write high-quality code for the portion you choose to implement, not the number of features implemented.