-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update doc comments, minor changes
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
- Loading branch information
Showing
12 changed files
with
119 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
/// Type of load a [PagingData] can trigger a [PagingSource] to perform. | ||
/// Type of load a [SuperPager] can trigger a [PageFetcher] to perform. | ||
/// | ||
/// [LoadState] of any [LoadType] may be observed for UI purposes by registering a listener via | ||
/// [androidx.paging.PagingDataAdapter.addLoadStateListener] or | ||
/// [androidx.paging.AsyncPagingDataDiffer.addLoadStateListener]. | ||
/// [LoadState] of any [LoadType] may be observed for UI purposes by registering | ||
/// a listener via [SuperPager.addListener]. | ||
enum LoadType { | ||
/// [PagingData] content being refreshed, which can be a result of refresh | ||
/// [SuperPager] content being refreshed, which can be a result of refresh | ||
/// that may contain content updates, or the initial load. | ||
refresh, | ||
|
||
/// Load at the start of a [PagingData]. | ||
/// Load at the start of a [SuperPager]. | ||
prepend, | ||
|
||
/// Load at the end of a [PagingData]. | ||
/// Load at the end of a [SuperPager]. | ||
append, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.