1 min readMar 9, 2020
You can inflate the View in onCreateView manually too, if you use FragmentMyBinding.inflate(layoutInflater)
, store the reference to the binding as a field, then say return binding.root
.
You can inflate the View in onCreateView manually too, if you use FragmentMyBinding.inflate(layoutInflater)
, store the reference to the binding as a field, then say return binding.root
.
Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.