You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 {}
}
The text was updated successfully, but these errors were encountered:
@gameunite That sounds legit. Have you achieve it? I'm interested in more details since I wanted to play around GraphQL too...still did not have time... :(
Should I just create an interface for the remote api then just process each api on its own class?
The text was updated successfully, but these errors were encountered: