Skip to content

Instantly share code, notes, and snippets.

@Ikhiloya
Created October 28, 2020 06:45
Show Gist options
  • Save Ikhiloya/d000e6586390a466a44a5e64f02b78d0 to your computer and use it in GitHub Desktop.
Save Ikhiloya/d000e6586390a466a44a5e64f02b78d0 to your computer and use it in GitHub Desktop.
Shows how to get Invocation by tag from a Retrofit request.
var request = chain.request()
val invocation: Invocation? = request.tag(Invocation::class.java)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment