aakaashjois
05/22/2017, 11:03 AMframeLayout inside the onCreate method. I tried to create var enableCheckBox: CheckBox before declaring the frameLayout. But when i tried to access enableCheckBox in the rest of the onCreate method, it gave an error saying Variable "enableCheckBox" must be initializedcuddlecheek
05/22/2017, 2:55 PMcuddlecheek
05/22/2017, 2:58 PMaakaashjois
05/22/2017, 3:20 PMlateinit. Since I am just using the variable inside the onCreate method, I thought I can declare it inside onCreate instead of global variable. But it looks like lateinit only works with global variable as of now.yan
05/22/2017, 8:01 PMDelegates.notNull() inside functions.aakaashjois
05/23/2017, 8:24 AMDelegates.notNull() works 😕