Giter Site home page Giter Site logo

noloman / mapthecity Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 10.55 MB

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: MIT License

Kotlin 100.00%
android kotlin google-maps-android

mapthecity's Introduction

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

mapthecity's People

Contributors

noloman avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

mapthecity's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency androidx.appcompat:appcompat to v1.7.0
  • Update dependency androidx.lifecycle:lifecycle-compiler to v2.8.3
  • Update dependency androidx.test.ext:junit to v1.2.1
  • Update dependency com.android.tools.build:gradle to v3.6.4
  • Update dependency com.google.android.material:material to v1.12.0
  • Update dependency com.google.code.gson:gson to v2.11.0
  • Update dependency gradle to v5.6.4
  • Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.8.1
  • Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.8.1
  • Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.8.1
  • Update kotlin monorepo to v1.9.25 (org.jetbrains.kotlin:kotlin-stdlib-jdk7, org.jetbrains.kotlin:kotlin-allopen, org.jetbrains.kotlin:kotlin-gradle-plugin)
  • Update actions/checkout action to v4
  • Update actions/setup-java action to v4
  • Update dependency com.android.tools.build:gradle to v8
  • Update dependency com.google.android.gms:play-services-maps to v19
  • Update dependency gradle to v8
  • Update kotlin monorepo to v2 (major) (org.jetbrains.kotlin:kotlin-stdlib-jdk7, org.jetbrains.kotlin:kotlin-allopen, org.jetbrains.kotlin:kotlin-gradle-plugin)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/android.yml
  • actions/checkout v1
  • actions/setup-java v1
  • reactivecircus/android-emulator-runner v2
gradle
gradle.properties
settings.gradle
build.gradle
  • com.android.tools.build:gradle 3.5.3
  • org.jetbrains.kotlin:kotlin-gradle-plugin 1.3.61
  • org.jetbrains.kotlin:kotlin-allopen 1.3.61
  • org.jetbrains.kotlin:kotlin-stdlib-jdk7 1.3.61
app/build.gradle
  • androidx.appcompat:appcompat 1.6.1
  • androidx.core:core-ktx 1.1.0
  • androidx.recyclerview:recyclerview 1.1.0
  • com.google.android.material:material 1.0.0
  • com.google.android.gms:play-services-maps 17.0.1
  • androidx.constraintlayout:constraintlayout 2.0.0-beta4
  • com.google.code.gson:gson 2.8.6
  • androidx.lifecycle:lifecycle-extensions 2.1.0
  • androidx.lifecycle:lifecycle-compiler 2.7.0
  • androidx.lifecycle:lifecycle-viewmodel-ktx 2.2.0-rc03
  • androidx.lifecycle:lifecycle-livedata-ktx 2.2.0-rc03
  • org.jetbrains.kotlinx:kotlinx-coroutines-android 1.3.3
  • org.jetbrains.kotlinx:kotlinx-coroutines-core 1.3.3
  • junit:junit 4.13.2
  • com.nhaarman.mockitokotlin2:mockito-kotlin 2.2.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-test 1.3.3
  • android.arch.core:core-testing 1.1.1
  • android.arch.core:core-testing 1.1.1
  • org.jetbrains.kotlinx:kotlinx-coroutines-test 1.3.3
  • androidx.test.ext:junit 1.1.5
  • androidx.test.espresso:espresso-core 3.2.0
  • androidx.arch.core:core-testing 2.1.0
  • androidx.test:rules 1.3.0-alpha03
  • androidx.test:runner 1.2.0
  • com.android.support.test.espresso:espresso-contrib 3.0.2
  • com.android.support.test.uiautomator:uiautomator-v18 2.1.3
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 5.4.1

  • Check this box to trigger a request for Renovate to run again on this repository

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.