I also really like to go one step further and pull...
# getting-started
k
I also really like to go one step further and pull the type-token stuff out into an inline function. It's perfect for this:
Copy code
inline fun <reified T> typeToken(): TypeToken<T> = object: TypeToken<T>() {}