yes. you can create literally any interface to the...
# android
j
yes. you can create literally any interface to the API call that you want because you can use any type that you want. it doesn't even have to be callback-based. This is how Retrofit supports things like RxJava, coroutines, futures, etc.