NestedScrollView、Scrollview中嵌套百度地图引发的滑动冲突

    mBaiduMap.setOnMapTouchListener(object : BaiduMap.OnMapTouchListener {
        override fun onTouch(motionEvent: MotionEvent) {
            if (motionEvent.action == MotionEvent.ACTION_UP) {
                mNestedScrollView?.requestDisallowInterceptTouchEvent(false)
            } else {
                mNestedScrollView?.requestDisallowInterceptTouchEvent(true)
            }
        }

    })

推荐阅读更多精彩内容