Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4103898
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:01:08+00:00 2026-05-20T21:01:08+00:00

I have various screens in my app and for each screen which have buttons

  • 0

I have various screens in my app and for each screen which have buttons I have something like the below to push a new screen when a button is clicked –

        quizButton.setChangeListener(new FieldChangeListener() {  
             public void fieldChanged(Field field, int context) {  
                 UiApplication.getUiApplication().pushScreen(new CustomScreen());
            }  
        }); 

Just wondering if there is a more ‘MVC like’ methodology for handling navigation flow ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T21:01:08+00:00Added an answer on May 20, 2026 at 9:01 pm

    Whenever you want to push a new screen

    You can create a class extends MainScreen and also which takes mainscreen object as the argument in the constructor and in the constructor push the next screen according to the flow

    So whenever in your project if you are willing to navigate create the object of this custom class and send the screen object as an argument in the constructor

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have various models of which I would like to keep track and collect
I'm developing an app which has different layout and value files for various screens,
I have 2 galleries in my app. App must support various screen sizes. I
I have various class which perform save and update operations of GUI elements, it
I have various time-series I'd like to correlate and present as either a csv-file
i have various strings that look like that: $(gateway.jms.jndi.ic.url,0,tibjmsnaming, tcp)/topic/$(gateway.destination.prefix)$(gateway.StatusTopicName),$(gateway.jms.jndi.ic.username),$(gateway.jms.jndi.ic.password),abinding,tBinding i'm trying to figure
I have a small app that allows the user to draw on the screen
I have an app which starts with a root UINavigationController . This controller then
I'm starting an Android app which will have multiple Activities. It will be using
I have an NSObject set up to control various elements on my screen. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.