Created
January 7, 2020 15:02
-
-
Save seoft/f06e7abdbdba537009e5c882f01f5816 to your computer and use it in GitHub Desktop.
부모 뷰의 onTouchListener가 발생하지 않을 때 해결법
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actDadigRvCenter.addOnItemTouchListener(object : RecyclerView.OnItemTouchListener{ | |
override fun onTouchEvent(rv: RecyclerView, e: MotionEvent) {} | |
override fun onInterceptTouchEvent(rv: RecyclerView, event: MotionEvent): Boolean { | |
// 처리 | |
return false | |
} | |
override fun onRequestDisallowInterceptTouchEvent(disallowIntercept: Boolean) {} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment