You can’t cast using a `Class` object like that, y...
# android
r
You can’t cast using a
Class
object like that, you have to use the actual type. In this case you want
copy as E
but then you also need to use
reified E
in the function declaration
👍 1