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 |
Tags
- onLayout
- 코틀린
- notification
- Coroutine
- 백준
- BOJ
- HTTP
- lifecycle
- DataBinding
- recyclerview
- activity
- 알고리즘
- Navigation
- CollapsingToolbarLayout
- sqlite
- kotlin
- Behavior
- AppBarLayout
- ViewModel
- hilt
- CustomView
- 안드로이드
- room
- View
- LiveData
- Android
- 알림
- Algorithm
- CoordinatorLayout
- onMeasure
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