``` when (thing) { is LinearLayout -> TODO(...
# getting-started
d
Copy code
when (thing) {
    is LinearLayout -> TODO()
    is RelativeLayout -> TODO()
}