Bunch of crash fixes

This commit is contained in:
arkon
2020-05-03 12:17:10 -04:00
parent 6cd34614f6
commit ce0090f0ca
12 changed files with 65 additions and 22 deletions
@@ -84,6 +84,8 @@ open class Pager(
override fun onTouchEvent(ev: MotionEvent): Boolean {
return try {
super.onTouchEvent(ev)
} catch (e: IndexOutOfBoundsException) {
false
} catch (e: IllegalArgumentException) {
false
}