Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The first page doesn't show any thing #104

Open
alikazemiinfo opened this issue Aug 25, 2022 · 1 comment
Open

The first page doesn't show any thing #104

alikazemiinfo opened this issue Aug 25, 2022 · 1 comment

Comments

@alikazemiinfo
Copy link

alikazemiinfo commented Aug 25, 2022

In the first time run app i set that id 3 which contains home fragment loaded but it doesn't show anything and it just keep showing null page and after clicking the other id and reselect the id 3 it shows the content!
What should I do?

You can see my problem video by this link
https://anonfiles.com/eb8au259y3/Screenrecorder-2022-08-26-01-35-40-512_mp4

@B3DTechnologies
Copy link

Hi,
I was also facing the same thing. I found a workaround.
After setting
bottomNavigation.show(1, true);

We can manually set the fragment for first time.
getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container, new Screen1Fragment()).commit();
After that we can do
bottomNavigation.setOnClickMenuListener{..}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants