Chetan Tuteja
Mar 9, 2021

I feel the binding is non-null as it as a property is only valid between onCreateView and onDestroyView as it should be.

Even the official documentation has something similar ( https://developer.android.com/topic/libraries/view-binding#fragments )

They just end up using a `!!` operator instead to the binding object basically asserting Not-Null.

I will take a look to the other article though. Thanks for the input. Appreciated.

Chetan Tuteja
Chetan Tuteja

Written by Chetan Tuteja

Android Developer | CS Grad|Project-based learner 👨🏻‍💻

No responses yet