I had the same problem.
I think maybe it’s because the Fragment originally needed to bind the View in the ‘OnCreateView,’ so you have to in the ‘OnViewCreated’ or later to get the bound View.
I had the same problem.
I think maybe it’s because the Fragment originally needed to bind the View in the ‘OnCreateView,’ so you have to in the ‘OnViewCreated’ or later to get the bound View.