Hi,
I have overridden getFirstFormName() to display my app's LoginForm if "Remember me" is false, otherwise it displays the HomeForm.
@Override
protected String getFirstFormName() {
if (Preferences.get("RememberMe", false)) {
return "HomeForm";
} else {
return "LoginForm";
}
}
My problem is that if I start the app having previously logged-in selecting "Remember me" and then want to log out from HomeForm, LoginForm isn't on the stack. So I have to show the LoginForm using showForm() which makes the screen transition from right-to-left, which is incorrect.
Is there any way to make the screen transition from left-to-right even though LoginForm isn't on the stack?
Many thanks