Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

PageKeyedDataSource.LoadParams

public static class PageKeyedDataSource.LoadParams
extends Object

java.lang.Object
   ↳ android.arch.paging.PageKeyedDataSource.LoadParams<Key>


Holder object for inputs to loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback).

Summary

Fields

public final Key key

Load items before/after this key.

public final int requestedLoadSize

Requested number of items to load.

Public constructors

PageKeyedDataSource.LoadParams(Key key, int requestedLoadSize)

Inherited methods

Fields

key

Key key

Load items before/after this key.

Returned data must begin directly adjacent to this position.

requestedLoadSize

int requestedLoadSize

Requested number of items to load.

Returned page can be of this size, but it may be altered if that is easier, e.g. a network data source where the backend defines page size.

Public constructors

PageKeyedDataSource.LoadParams

PageKeyedDataSource.LoadParams (Key key, 
                int requestedLoadSize)

Parameters
key Key

requestedLoadSize int