elizarov
06/23/2017, 8:29 AM!! and ?.. You should not declare all your variables as nullable as you do in Java. In your particular example, you should declare all your fragment member variables as lateinit var with non-nullable types and you should not use nullable types in your code either. E.g., for example, onCreateView inflater cannot be null and should be declared as such