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