Alright. This is my end result for the MockApiServ...
# squarelibraries
c
Alright. This is my end result for the MockApiService. getFullName calling getFullName does seem like something could be improved there, but this gets me to my goal of being able to swap out my ProdApi with a MockApi which would allow me to work on the app even while I'm on an airplane. Thanks everyone!
Copy code
class MockApiService(delegate: BehaviorDelegate<NetworkBackedApiService>) :
    NetworkBackedApiService {
    private val delegate: BehaviorDelegate<NetworkBackedApiService> = delegate
    override fun getFullName(user: String?): Call<String>? {
        return delegate.returning(Calls.response("Colton Idle")).getFullName(user)
    }
}