https://kotlinlang.org logo
#anko
Title
# anko
m

miha-x64

05/22/2017, 11:08 AM
You want to use a view within a method, not within a class, right?
Copy code
var enableCheckBox: CheckBox? = null

... {
    enableCheckBox = checkBox { ... }
}

enableCheckBox!!....
a

aakaashjois

05/22/2017, 11:14 AM
miha-x64: thank you! This helped! 😁
2 Views