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
- HTTP
- 알림
- Behavior
- CustomView
- Algorithm
- onMeasure
- CoordinatorLayout
- lifecycle
- 코틀린
- activity
- View
- 안드로이드
- room
- CollapsingToolbarLayout
- Android
- 알고리즘
- ViewModel
- DataBinding
- Coroutine
- 백준
- notification
- onLayout
- BOJ
- recyclerview
- kotlin
- sqlite
- AppBarLayout
- Navigation
- hilt
- LiveData
Archives
- Today
- Total
목록Selection Predicate (1)
개발일지

SelectionPredicate Select를 좀 더 디테일하게 설정할 수 있다.(하나만 선택, 여러개 선택, ViewHolder에 따른 조건적 선택) SelectionPredicates.createSelectAnything() : 아무거나 여러개 선택가능 SelectionPredicates.createSelectSingleAnything() : 아무거나 한개만 선택가능 SelectionTracker.SelectionPredicate를 상속받아서 구현 ViewHolder에 YES만 선택되게한 예제 class SelectionPredicate(private val recyclerView: RecyclerView) : SelectionTracker.SelectionPredicate() { override ..
Android (안드로이드)/RecyclerView
2021. 1. 15. 04:29