net / com.drake.net.scope / PageCoroutineScope
PageCoroutineScope¶
class PageCoroutineScope :NetCoroutineScope
Constructors¶
| Name | Summary |
|---|---|
| <init> | PageCoroutineScope(page: PageRefreshLayout, dispatcher: CoroutineDispatcher = Dispatchers.Main) |
Properties¶
| Name | Summary |
|---|---|
| index | val index:Int |
| page | val page: PageRefreshLayout |
Functions¶
| Name | Summary |
|---|---|
| catch | fun catch(e:Throwable):Unit |
| finally | fun finally(e:Throwable?):Unit |
| handleError | 错误处理fun handleError(e:Throwable):Unit |
| readCache | 读取缓存回调fun readCache(succeed:Boolean):Unit |
| start | fun start():Unit |