SwipeBack
SwipeBack copied to clipboard
how to set the trigger zone?
how to set the trigger zone
In SwipeBackLayout there is a dragHelper. You might adjust the sensitivity while creating the the helper. 1 is full sensitivity. I find it usefull to use as 0.1f.
viewDragHelper = ViewDragHelper.create(this, 0.1f, new ViewDragHelperCallBack());
In SwipeBackLayout there is a dragHelper. You might adjust the sensitivity while creating the the helper. 1 is full sensitivity. I find it usefull to use as 0.1f.
viewDragHelper = ViewDragHelper.create(this, 0.1f, new ViewDragHelperCallBack());
Hey Evren, I have issue as like triggering threshold or i cant set sensitivity even i use your code in Kotlin. Your code has been syntax error in Kotlin. How can i set ViewDragHelper sensitivity?