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

PagingAdapter RecyclerView와 결합하여 사용할 수 있고, LoadState로 Loading, Error 등 상황을 표시할 수 있습니다. 코드 BasePagingAdapter abstract class BasePagingAdapter(itemCallback: DiffUtil.ItemCallback) : PagingDataAdapter(itemCallback) { override fun onBindViewHolder(holder: BaseHolder, position: Int) { getItem(position)?.let { holder.bind(it) } } override fun onBindViewHolder(holder: BaseHolder, position: Int, payload..
Android (안드로이드)/Paging
2021. 5. 25. 12:00