Skip to content

hrach.dev

Kotlin • Android • PHP

  • Home
  • Talks
  • GitHub

Moshi

Retrieving reified generic arguments

2021-01-012020-12-04 by hrach

Kotlin has a great feature that will allow you to preserve generic type T for further work, not only type resolution. So how much we can utilize it? This simple code does not take any “normal” argument, but it take one generic argument – the T. Usually, we can just pass the T around to … Read more

Categories Programming Tags Generics, Kotlin, Moshi Leave a comment
© 2023 hrach.dev • Built with GeneratePress