Instead of setOnItemReselectedListener
you should use setOnItemSelectedListener
to avoid "double-clicking".
But you still have to add initial fragment to FragmentContainerView. For example, in onCreate()
you can call your replaceFragment()
with the fragment that you need to be shown at first.
* Be the first to Make Comment