PositionalDataSource.LoadInitialParams

Added in 2.0.0
Deprecated in 3.0.0

public class PositionalDataSource.LoadInitialParams


Holder object for inputs to loadInitial.

Summary

Public fields

final int

Defines page size acceptable for return values.

final boolean

Defines whether placeholders are enabled, and whether the loaded total count will be ignored.

final int

Requested number of items to load.

final int

Initial load position requested.

Public constructors

LoadInitialParams(
    int requestedStartPosition,
    int requestedLoadSize,
    int pageSize,
    boolean placeholdersEnabled
)

Public fields

pageSize

Added in 2.0.0
Deprecated in 3.0.0
public final int pageSize

Defines page size acceptable for return values.

List of items passed to the callback must be an integer multiple of page size.

placeholdersEnabled

Added in 2.0.0
Deprecated in 3.0.0
public final boolean placeholdersEnabled

Defines whether placeholders are enabled, and whether the loaded total count will be ignored.

requestedLoadSize

Added in 2.0.0
Deprecated in 3.0.0
public final int requestedLoadSize

Requested number of items to load.

Note that this may be larger than available data.

requestedStartPosition

Added in 2.0.0
Deprecated in 3.0.0
public final int requestedStartPosition

Initial load position requested.

Note that this may not be within the bounds of your data set, it may need to be adjusted before you execute your load.

Public constructors

LoadInitialParams

Added in 2.0.0
Deprecated in 3.0.0
public LoadInitialParams(
    int requestedStartPosition,
    int requestedLoadSize,
    int pageSize,
    boolean placeholdersEnabled
)