Skip to content

Small showcase application that loads 200k rows of cities from a JSON file in the assets folder and presents them to the user. The cities contain name, country code and coordinates and can be located on a map.

License

noloman/MapTheCity

Repository files navigation

MapTheCity

Small showcase application that loads 200k rows of cities from a JSON file in the assets folder and presents them to the user. The cities contain name, country code and coordinates and can be located on a map.

The app has been tested on:

  • Google Pixel 3 XL API 29
  • Google Nexus 9 API 25

Possible improvements:

  • Use DI framework (Dagger 2, Koin) as a replacement for the ServiceLocator pattern used.
  • Use a DB framework such as Room.
  • Create data sources for the repository for a better separation of concerns, as recommended in Google's Guide to app architecture.
  • Create a backend service to fetch the list of cities from a server, instead of from the assets folder.
  • Improve (or remove) the About button and its functionality.
  • Augment unit test coverage of the app in general.
  • Tackle flaky UI tests, as sometimes some of them pass when run alltogether, and sometimes they don't (specially using the Github Action workflow instrumented tests).

About

Small showcase application that loads 200k rows of cities from a JSON file in the assets folder and presents them to the user. The cities contain name, country code and coordinates and can be located on a map.

Topics

Resources

License

Stars

Watchers

Forks

Languages