# Reified Types in Kotlin: how to use the type within a function (KAD 14)

DevFeed: [Reified Types in Kotlin: how to use the type within a function (KAD 14)](<https://devfeed.tech/articles/reified-types-in-kotlin-how-to-use-the-type-within-a-function-kad-14-27222.md>)

Original publisher: [Read original article](<https://antonioleiva.com/reified-types-kotlin>)

Published: 2017-03-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [generics](<https://devfeed.tech/topics/generics.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [function](<https://devfeed.tech/tags/function.md>), [generics](<https://devfeed.tech/tags/generics.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

## AI overview

A tutorial on Kotlin reified types explains how inline functions can access their type parameters, avoiding explicit class arguments. It demonstrates their use for Android activity navigation and safer typed view lookup, while comparing the approach with Java generics.

## Source excerpt

Everything Android, Kotlin and other random topics