I have this method in my Dialog
class:
public static void hide(){
isOpen = false;
Main.PAGE.getChildren().removeAll(Main.PAGE.getChildren());
Main.PAGE.getChildren().add(Main.ROOT);
}
I tried to run it in Samsung TabS and LG Leon phone and it worked but when I tried to run it in my Samsung GT-N5100 it throws a StackOverFlow Error.
Why?