Open DanteAndroid opened 2 years ago
Hi! I have solved by requesting for disallow intercepting touch events when user touches the ColorPickerView/BrightnessSlideBar. Here is code:
binding.colorPickerView.setOnTouchListener { view, motionEvent ->
val disallow = motionEvent.actionMasked == MotionEvent.ACTION_DOWN
|| motionEvent.actionMasked == MotionEvent.ACTION_MOVE
binding.colorPickerView.requestDisallowInterceptTouchEvent(disallow)
false
}
Yes It resolved my issue @marwia
Hi, I have a ColorPickerView and a BrightnessSlideBar inside a NestedScrollView, but when I touch it/them, the event cannot handled properly by them, instead handled by NestedScrollView. Please tell me how to fix it.