Does this lib have onSwipeBackListener?
ngocht143 opened this issue · 1 comments
ngocht143 commented
Hi @sockeqwe,
Can i use this lib for fragment? I want to override the listener when user swipe back (not finish my activity). Is your lib support this issue? :)
sockeqwe commented
Hi,
I have never used it with Fragments, but it should be possible.
What you are looking for can be achieved with a SwipeBackTransformer
, that is the "listner" you are looking for:
SwipeBack.attach(this, Position.LEFT)
.setSwipeBackTransformer(new YourFragmentSwipeBackTransformer())
...