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