https://kotlinlang.org logo
#android
Title
# android
j

joelpedraza

10/09/2017, 6:29 PM
Since findViewById returns nullable it's probably cleaner to use
val view: View? = nullableId?.let { findViewById(it) }