You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for your attention, because you need to listen to the return key to recover the page, so provides an interface keyBack, you can use it
SetKeyCallBack (KeyCallBack new) { @OverRide
Boolean onKeyDown public (keyCode int, event KeyEvent) {
False return;
}
});
Thank you for your response just if possible can you elaborate the interface for how to implement it. As i am creating root activity from that opening a fragment and from that fragment opening new fragment and as on system backpressed i m returning to previous fragment and again on back pressed i want to display a dialog. In short i want to display over last fragment when user press system back button
Hey, its a nice library thnks for it.
Can you please provide me example for how i can listen for system back button inside a fragment.
The text was updated successfully, but these errors were encountered: