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 |
Tags
- Behavior
- recyclerview
- notification
- CollapsingToolbarLayout
- kotlin
- onMeasure
- lifecycle
- 백준
- View
- Algorithm
- HTTP
- room
- Navigation
- Coroutine
- 코틀린
- onLayout
- AppBarLayout
- DataBinding
- LiveData
- CustomView
- ViewModel
- 알림
- BOJ
- activity
- 알고리즘
- sqlite
- hilt
- CoordinatorLayout
- 안드로이드
- Android
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