Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bottom_sheet.setOnTouchListener { _, event ->
- trackMapView.map.isScrollGesturesEnabled = false
- if (event!!.action == MotionEvent.ACTION_CANCEL || event!!.action == MotionEvent.ACTION_UP) {
- trackMapView.map.isScrollGesturesEnabled = true
- }
- true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement