Find some cities that you wanted to go!
- Android Studio
4.2.1
- Kotlin
v1.4.10
- Gradle Kotlin DSL
- Android Architecture Component with clean arch approach
- Unit tested in all layers
- build:
./gradlew assembleDebug
- test:
./gradlew testDebugUnitTest
- known issue: consider increase
jvm heap
size if OOM occur
- implemented using
pragmatic TDD
- use
Trie()
data structure for faster runtime search on a large datasets (better than linear time complexity) - automated kaban github-project can be found here: https://github.com/gigiperih/cityx/projects/1
- sneak peak:
hundreds of thousands item
{
"country": "RU",
"name": "Novinki",
"_id": 519188,
"coord": {
"lon": 37.666668,
"lat": 55.683334
}
}
- Code coverage is still very low.
- Can be modularized.
Trie
implementation truncates some duplicates data.