DEV Community

Discussion on: Working with ViewBinding in Android using Kotlin

Collapse
 
jcarlosr profile image
Juan Ramos • Edited

For Fragments:
Do we need a nullable instance and a getter?

What about using lateinit like the following?
private lateinit var binding: MyClassBinding