AbstractTestIviDataSource
abstract class AbstractTestIviDataSource<E : Any, Q : Any>(val jumpingSupported: Boolean = true, val keyReuseSupported: Boolean = true) : IviDataSource<E, Q>
Base class for implementing an IviDataSource for testing purpose.
The implementation invokes pagingSourceFactory's PagingSourceFactory.create whenever a new IviPagingSource needs to be created. Creation of paging sources can be validated through the pagingSourceFactorySpy.
Constructors
Types
Link copied to clipboard
Interface for factory to create an IviPagingSource.
Properties
Link copied to clipboard
Spies the access to the pagingSourceFactory.