ankit.sharma
12/02/2018, 9:17 PMRetrofitApi.kt
interface, define a companion object which returns a service object.
2. Define a separate class and instantiate the object in init {}
.
Is there a recommended way of doing things on android and what are the pros and cons of each approach?
Thanks!gildor
12/03/2018, 2:09 AM