title: BottomNavigation View OnNavigationItemSelectedListener is deprecated
body: <p>I am trying out the Android's BottomNavigationView implementation as per <a href="https://material.io/components/bottom-navigation/android#using-bottom-navigation" rel="noreferrer">Material Design</a></p>
  <p>However, on the MainActivity code I am getting a warning that <code>OnNavigationItemSelectedListener</code> is deprecated - see the below snapshot</p>
  <p><a href="https://i.stack.imgur.com/GI0hz.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/GI0hz.jpg" alt="enter image description here" /></a></p>
  <p>Have tried get an alternative method to work with the BottomNavigationView but I cannot find it.</p>
  <p>Looking for help from anyone with a way out but in the meantime I have matched my BottomView's menu items ids with the fragment destination ids and I successfully achieved Navigation but with a limitation of not being able to update my toolbar title with the Fragment's name.</p>