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
- hilt
- 알림
- CollapsingToolbarLayout
- BOJ
- lifecycle
- CustomView
- onMeasure
- kotlin
- 코틀린
- LiveData
- DataBinding
- 알고리즘
- HTTP
- Algorithm
- activity
- sqlite
- Coroutine
- Android
- View
- 백준
- Behavior
- recyclerview
- onLayout
- CoordinatorLayout
- 안드로이드
- Navigation
- notification
- room
- ViewModel
- AppBarLayout
Archives
- Today
- Total
목록ViewHolder Swipe (1)
개발일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bqog8T/btqS1UN50CA/3SCsgIEf2mRDOXj5zQkwz0/img.gif)
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