Open Devspm opened 6 years ago
@Devspm if Activity
want to interrupt onBackPressed
method , you can define a method named onInterruptBackPressed
in Activity
and return true
.
Fragment
and Activity
is a tree structure , you can choose to interrupt in any level , just return true in onInterruptBackPressed
.
Hi,thanks for the library. I'm having problem with understanding onRiggerBackPressed and onInterruptBackPressed. How can i let the activity's onBackPressed to execute when using onRiggerBackPressed ?