android how to check type of view kotlin code example Example: kotlin cast types val myInt: Int = 1.0 as Int