https://kotlinlang.org logo
d

diesieben07

03/10/2018, 11:20 PM
You're doing an unchecked, unsafe cast there. That's asking for runtime exceptions. You are assigning an object to a type that it is not compatible with.