if else check in kotlin android code example Example: kotlin if if (a > b) { max = a } else { max = b }