fix: 스와이프 월 이동 버그 수정
- onInterceptTouchEvent에서 false 반환하도록 수정 - RecyclerView 터치 이벤트 차단 문제 해결 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -175,7 +175,8 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
binding.calendarGrid.addOnItemTouchListener(object : androidx.recyclerview.widget.RecyclerView.OnItemTouchListener {
|
||||
override fun onInterceptTouchEvent(rv: androidx.recyclerview.widget.RecyclerView, e: MotionEvent): Boolean {
|
||||
return gestureDetector.onTouchEvent(e)
|
||||
gestureDetector.onTouchEvent(e)
|
||||
return false
|
||||
}
|
||||
override fun onTouchEvent(rv: androidx.recyclerview.widget.RecyclerView, e: MotionEvent) {}
|
||||
override fun onRequestDisallowInterceptTouchEvent(disallowIntercept: Boolean) {}
|
||||
|
||||
Reference in New Issue
Block a user