PagingSource.LoadResult


public sealed class PagingSource.LoadResult<Key extends Object, Value extends Object>


Result of a load request from PagingSource.load.

Summary

Nested types

public final class PagingSource.LoadResult.Error<Key extends Object, Value extends Object> extends PagingSource.LoadResult

Error result object for PagingSource.load.

public final class PagingSource.LoadResult.Invalid<Key extends Object, Value extends Object> extends PagingSource.LoadResult

Invalid result object for PagingSource.load

public final class PagingSource.LoadResult.Page<Key extends Object, Value extends Object> extends PagingSource.LoadResult implements Iterable

Success result object for PagingSource.load.

Protected constructors

<Key extends Object, Value extends Object> LoadResult()

Protected constructors

LoadResult

protected <Key extends Object, Value extends Object> LoadResult()