blackberry - Better method of hadling navigation flow in app -


I have different screens in my app and for each screen, I have a button that is a new screen One button is clicked to push -

  QuizButton .set change listener (new field change listener) {change public zeros field (field field, favored context) {UiApplication .getUiApplication () .PushScreen (new customsin ());}});   

Is there another 'MVC-like' method to handle navigation flow or not?

whenever you want to push a new screen

you create a square Which enhances the main screen and whatever manual object takes, the constructor in the constructor and in the logic presses the next screen as the constructor. << P>

So whenever you are ready to navigate this to your project, then create the object of this custom class and send the screen object as an argument to the constructor < / Div>

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -