Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Behavior
- LiveData
- 코틀린
- DataBinding
- 알고리즘
- room
- 알림
- Algorithm
- sqlite
- CollapsingToolbarLayout
- View
- Navigation
- CoordinatorLayout
- 안드로이드
- onMeasure
- onLayout
- HTTP
- activity
- hilt
- recyclerview
- 백준
- lifecycle
- CustomView
- Android
- ViewModel
- Coroutine
- BOJ
- AppBarLayout
- kotlin
- notification
Archives
- Today
- Total
목록SimpleCallback (1)
개발일지

ItemTouchHelper OnDragListener, GestureDetectors 등을 활요한 View에 다양한 제스처를 반응할 수 있지만 매우 복잡하다는 단점을 가지고 있다. RecyclerView에서는 쉽고 간편하게 제스처에 반응할 수 있도록 ItemTouchHelper를 제공한다. ItemTouchHelper.SimpleCallback ItemTouchHelper(object : ItemTouchHelper.SimpleCallback(ItemTouchHelper.UP or ItemTouchHelper.DOWN, ItemTouchHelper.LEFT or ItemTouchHelper.RIGHT) { override fun onMove(recyclerView: RecyclerView, viewHo..
Android (안드로이드)/RecyclerView
2021. 1. 10. 17:28