title: How to remove white flicker / flash while navigating between fragments?
body: <p>I've set bottom navigation using Navigation Component, but whenever I navigate between fragments I see a white flicker.</p>
  <p><a href="https://i.stack.imgur.com/Fr6hG.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/Fr6hG.gif" alt="enter image description here" /></a></p>
  <pre><code>override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      navController = Navigation.findNavController(this, R.id.dashboardNavHostFragment)
      bottomNavigationView.setupWithNavController(navController)
  }
  </code></pre>
  <p>this is how I setup my bottom navigation.</p>