https://kotlinlang.org logo
k

kenkyee

03/18/2018, 2:02 PM
I think the reason for my kotlin extension view being null is because the hashmap got cleared when the activity is destroyed too. The fragment it's being used in its nested inside a FragmentPageAdapter. Switching to old school findViewById works around it.