PagingSourceFactory


Known direct subclasses
InvalidatingPagingSourceFactory

Wrapper class for a PagingSource factory intended for usage in Pager construction.


Interface for a factory that generates PagingSource.

The factory extending this interface can be used to instantiate a Pager as the pagingSourceFactory.

Summary

Public functions

operator PagingSource<Key, Value>

Returns a new PagingSource instance.

Cmn

Public functions

invoke

operator fun invoke(): PagingSource<Key, Value>

Returns a new PagingSource instance.

This function can be invoked by calling pagingSourceFactory() or pagingSourceFactory::invoke.