codenameone - back button restriction on the app -


i looking restrict button i.e not anything. found need override in statemachine class.

protected boolean allowbackto(string formname) {    return false;} 

on our development deleted class , don't have class.

so there way restrict button in total application.

thanks in advance

you can't delete statemachine class in guibuilder app. if deleted , no longer using guibuilder code no longer relevant anyway , totally unnecessary added manually.


Comments

Popular posts from this blog

c++ - What's the differece between of link to a dynamic file and as a input object? -

javascript - Feed FileReader from server side files -

Android Unit Testing / Mockito: android.location.Location not mocked -