Skip to content

Instantly share code, notes, and snippets.

@romsalva
Created March 22, 2018 02:55
Show Gist options
  • Save romsalva/b7ab6caee0d733e57e0d617be81c6092 to your computer and use it in GitHub Desktop.
Save romsalva/b7ab6caee0d733e57e0d617be81c6092 to your computer and use it in GitHub Desktop.
Nice Kotlin extensions
inline fun <reified T> Retrofit.create(): T = create(T::class.java)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment