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

PagingSource PagingSource는 데이터 소스를 얻는 방법을 정의하고 로컬 데이터 베이스에서 얻거나 서버로 부터 데이터를 얻을지 정의할 수 있다. PagingSource에서 Key값은 Page의 Key 유형이고 Value는 얻는 데이터의 유형입니다. 코드 package com.taetae98.paging.paging import androidx.paging.PagingSource import androidx.paging.PagingState import com.taetae98.paging.dto.WebToon class ViewerPagingSource( private val webToon: WebToon, private val episode: Int ) : PagingSource() { ..
Android (안드로이드)/Paging
2021. 5. 25. 01:11