https://github.com/linx64/truecaller
Find 10th char, repeated words and etc
https://github.com/linx64/truecaller
kotlin kotlin-android mvvm-architecture sealed-class
Last synced: 7 months ago
JSON representation
Find 10th char, repeated words and etc
- Host: GitHub
- URL: https://github.com/linx64/truecaller
- Owner: LinX64
- Created: 2022-09-09T17:08:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T14:48:56.000Z (about 3 years ago)
- Last Synced: 2025-01-21T15:23:18.439Z (9 months ago)
- Topics: kotlin, kotlin-android, mvvm-architecture, sealed-class
- Language: Kotlin
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Task - Making three requests simultaneously
## Teck stack and Technologies
- MVVM
- LiveData
- Retrofit
- Mockito
- JUnit
- Hilt-dagger
- Enum class
- Sealed class# Preview
# Solution
I used `Async()` along with `await()` to get the data from the API with three different requests simultaneously as requested. Data is being handled by the Repository. Logic is being handled by the ViewModel.
1. In The first question; I used a function for splitting the split the `