android10 / android10/Android-CleanArchitecture-Kotlin
How to handle REST and GraphQL?
Aperta
- Lingua principale
- Kotlin
- Stelle
- 4.8k
- Fork
- 929
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Should I just create an interface for the remote api then just process each api on its own class?
```
GetUserRest.kt
class GetUserRest : RemoteSource {
fun process(): Data {}
}
GetUserGraphQL.kt
class GetUserGraphQL : RemoteSource {
fun process(): Data {}
}
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.