Do android project, recently used BottomNavigationView control fragments navigation at the bottom of the switch, but a fragment of the page involves dynamically create layout, download icon from the Internet is loaded into the layout, page load are completely like this for a long time, and then finish loading before switching navigation caton have no reaction, to wait for the current fragment completely finish loading can jump over it,
Consult how to switch pages at random, regardless of the page load success have no? Make yourself in the background page to load