Bottom navigation

Excuseme guys who is here. Can you guys help me complete the code block in this codular program.

I want to ask about how to make a loop in the Back Pressed code block when the condition is in the bottom navigation about the back button is clicked it will return to the bottom navigation home or id 2 and when it is in the bottom navigation home the back button is clicked it will display notifier1 .

Is there anyone here who can help me in making a loop in the Back Pressed block code?

Thank You.

You have to set a variable that count in which page you are. Change the id of the page according to the navigation. When back button pressed set page id= (variable -1) if variable =1 then set notification . On click of the page set the variable like the selected id.
This is your goal ?

1 Like


Some thing like this ?

1 Like

thank you very much it works well and very helpful for me newbie.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.