AndroidX : BottomNavigationBar with Constraint Layout and Fragments

Implementing BottomNavigationBar for your android app is quite easy. You can find a lot of tutorials in different sites and in youtube, most of them do not support androidX because there are some changes in libraries and implementing design in constraint layout.So this one is for AndroidX.

If you have already created your project skip to Step 4.

Step 1 : First Create a new android project in your android studio.