Compare commits
6 Commits
main
...
instrument
Author | SHA1 | Date | |
---|---|---|---|
|
15df28fef6 | ||
|
5e1ba1e399 | ||
|
05d8d6e9e2 | ||
|
d1eac3f25a | ||
|
7f157d56c4 | ||
|
447abfee90 |
@ -71,6 +71,7 @@ class CachedTimelineRemoteMediator(
|
||||
return try {
|
||||
val response = when (loadType) {
|
||||
LoadType.REFRESH -> {
|
||||
Timber.e(RuntimeException(), "Stack trace for LoadType.REFRESH")
|
||||
val closestItem = state.anchorPosition?.let {
|
||||
state.closestItemToPosition(maxOf(0, it - (state.config.pageSize / 2)))
|
||||
}?.status?.serverId
|
||||
|
@ -13,7 +13,7 @@ androidx-fragment = "1.6.2"
|
||||
androidx-junit = "1.1.5"
|
||||
androidx-lifecycle = "2.6.2"
|
||||
androidx-media3 = "1.2.1"
|
||||
androidx-paging = "3.2.1"
|
||||
androidx-paging = "3.3.0-alpha03"
|
||||
androidx-preference = "1.2.1"
|
||||
androidx-recyclerview = "1.3.0"
|
||||
androidx-sharetarget = "1.2.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user