Here is the program flow that I want to do:
Application Starts:
-) A Startup Screen appears, that has a logo and a progress indicator.
This view/screen will then proceeded to check for user settings, check for network connection, and some other tasks.
-) If this is a first time load, it will then send the user to a setup screen
-) If is not, and there are no issues with the startup, it will send them to the main menu.
That is the program flow (up till the MainMenu).
What I have kinda working now is:
From the NavigationBar template, I have the splash screen (hidden nav bar).
It then does our startup and process steps in a seperate thread, so the progress indicator can spin.
It then pushes onto the NavController, the next appropriate viewcontroller.
Here is where I have the problem.
At this point, I don't want the "BACK" button, to take me back to the startup screen/viewcontroller.
I tried the POP options on the navigation controller, that doesn't work (at least it didn't for a quick test).
So is there a better way to do what I want? (Basically when it gets to the main menu, that the navigation path is cleared and the main menu is the root).
Thanks
Application Starts:
-) A Startup Screen appears, that has a logo and a progress indicator.
This view/screen will then proceeded to check for user settings, check for network connection, and some other tasks.
-) If this is a first time load, it will then send the user to a setup screen
-) If is not, and there are no issues with the startup, it will send them to the main menu.
That is the program flow (up till the MainMenu).
What I have kinda working now is:
From the NavigationBar template, I have the splash screen (hidden nav bar).
It then does our startup and process steps in a seperate thread, so the progress indicator can spin.
It then pushes onto the NavController, the next appropriate viewcontroller.
Here is where I have the problem.
At this point, I don't want the "BACK" button, to take me back to the startup screen/viewcontroller.
I tried the POP options on the navigation controller, that doesn't work (at least it didn't for a quick test).
So is there a better way to do what I want? (Basically when it gets to the main menu, that the navigation path is cleared and the main menu is the root).
Thanks