Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.paging.testing\n=======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/paging/testing/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [LoadErrorHandler](/reference/androidx/paging/testing/LoadErrorHandler) | An interface to implement the error recovery strategy when [PagingSource](/reference/androidx/paging/PagingSource) returns a [LoadResult.Error](/reference/androidx/paging/PagingSource.LoadResult.Error). |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| [PagerFlowSnapshotKt](/reference/androidx/paging/testing/PagerFlowSnapshotKt) | |\n| [SnapshotLoader](/reference/androidx/paging/testing/SnapshotLoader) | Contains the public APIs for load operations in tests. |\n| [StaticListPagingSourceFactoryKt](/reference/androidx/paging/testing/StaticListPagingSourceFactoryKt) | |\n| [TestPager](/reference/androidx/paging/testing/TestPager) | A fake [Pager](/reference/androidx/paging/Pager) class to simulate how a real Pager and UI would load data from a PagingSource. |\n\nEnums\n-----\n\n|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ErrorRecovery](/reference/androidx/paging/testing/ErrorRecovery) | The method of recovery when [PagingSource](/reference/androidx/paging/PagingSource) returns [LoadResult.Error](/reference/androidx/paging/PagingSource.LoadResult.Error). |"]]