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