mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-05 10:15:30 +08:00
Fix detekt
This commit is contained in:
@@ -82,6 +82,7 @@ private class BackendService {
|
||||
|
||||
private class ItemPagingSource(private val backend: BackendService) : PagingSource<Int, Item>() {
|
||||
|
||||
@Suppress("TooGenericExceptionCaught") // It is only for demo purpose
|
||||
override suspend fun load(params: LoadParams<Int>): LoadResult<Int, Item> =
|
||||
try {
|
||||
val nextPageNumber = params.key ?: 0
|
||||
|
Reference in New Issue
Block a user