ContactsTestIviDataSource
class ContactsTestIviDataSource(jumpingSupported: Boolean = true, keyReuseSupported: Boolean = true) : AbstractTestIviDataSource<ContactsDataSourceElement, ContactsDataSourceQuery>
Test data source which can be used during testing of contacts.
Constructors
Inherited properties
Functions
Link copied to clipboard
Link copied to clipboard
fun setContacts(contactsList: List<Contact>, contactOrderBy: ContactsDataSourceQuery.ContactOrderBy? = null)
Inherited functions
Link copied to clipboard
override fun createPagingSource(query: ContactsDataSourceQuery, lifecycleOwner: LifecycleOwner): IviPagingSource<ContactsDataSourceElement>
Link copied to clipboard
override fun createPagingSourceFlow(query: ContactsDataSourceQuery): Flow<IviPagingSource<ContactsDataSourceElement>>