02-27-2013 10:51 PM
Good evening all,
I have been trying to use a protected boolean navigation click with a fieldchangelistener. In my protected boolean navigation I send login information to an HTTP post request. However, it seems that I can't simultaneoulsy send information to a singleton and activate a field change listener going to the next screen.
ButtonField sendUserInfo = new ButtonField("Login")
protected boolean navigation click (int status, int time)
// i have some shenanigans here that send information to a singleton
//I have a field change listener somewhere down here to move it to another screen
02-28-2013 03:09 AM
02-28-2013 03:39 AM
Also be aware that one normally uses either navigationClick or a change listener for processing events initiated by Fields. The choice is typically down to style, but I prefer using the change listener because that means the processing code is external to the Field.