alexa
Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

bottom navigation view doesnt shows fargment unless double click in android studio ?

bottom navigation view doesnt shows fargment unless double click in android studio ?

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.


248 0
7

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online