Firebase\'s snapshot.getValue() expects to be called as follows:
snapshot?.getValue(Person::class.java)
However I would like t
What you need is reified modifier for your generic param, you can read about it here. https://kotlinlang.org/docs/reference/inline-functions.html#reified-type-parameters So if you do something like that:
inline fun T.logTag() = T::class.java.simpleName
you will get name of the actual caller class, not "Object".