MVVM + Kotlin + Retrofit2 + Dagger2 + Coroutines + MVP + Kotlin-Android-Extensions + RX-java + Mockk + Espresso + Junit5
android
flow
rxjava
mvp
coroutines
mvvm
mockito
junit
android-architecture
espresso
dagger2
mvp-architecture
retrofit2
mvvm-pattern
mvvm-architecture
android-cleanarchitecture
android-mvp-architecture
android-clean-architecture
android-mvvm-architecture
mockk
-
Updated
Sep 27, 2020 - Kotlin
When an API exception is happening the exception should be caught in catch block is it?
`
fun invoke(
scope: CoroutineScope,
params: Params?,
onResult: (UseCaseResponse)
) {
val backgroundJob = scope.async {
run(params)
}
scope.launch {
backgroundJob.await().let {
try {