问题
I'm using CustomSnackBar library from GITHUB ,
Check this: https://github.com/TakeoffAndroid/CustomSnackBar/blob/master/app/src/main/java/com/takeoffandroid/customsnackbar/SnackBar.java
This is so usefull to customize my snackbar.
But I want to disable swipe to dismiss , I tried all answer's from satckoverflow but no luck still its allowing to swipe to dismiss . Kindly advise is there any way to disable swipe to dismiss this custom snack bar.
- Android Studio ver:2.1
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
- Design Lib : com.android.support:design:23.3.0
Thanks in advance,
来源:https://stackoverflow.com/questions/37142858/how-to-disable-swipe-to-dismiss-android-custom-snack-bar