Probably my favorite extension function for Retrof...
# squarelibraries
b
Probably my favorite extension function for Retrofit that I use in almost every project
Copy code
internal inline fun <reified T : Any> Retrofit.create(): T = create(T::class.java)

retrofit.create<EmployeesService>()