# Package com.drake.net.scope

## Types

AndroidScope
Link copied to clipboard
open class AndroidScope(lifecycleOwner: LifecycleOwner?, lifeEvent: Lifecycle.Event, dispatcher: CoroutineDispatcher) : CoroutineScope, Closeable
Content copied to clipboard
异步协程作用域
DialogCoroutineScope
Link copied to clipboard
class DialogCoroutineScope(activity: FragmentActivity, dialog: Dialog?, cancelable: Boolean?, dispatcher: CoroutineDispatcher) : NetCoroutineScope, LifecycleObserver
Content copied to clipboard
自动加载对话框网络请求开始: 显示对话框 错误: 提示错误信息, 关闭对话框 完全: 关闭对话框
NetCoroutineScope
Link copied to clipboard
open class NetCoroutineScope(lifecycleOwner: LifecycleOwner?, lifeEvent: Lifecycle.Event, dispatcher: CoroutineDispatcher) : AndroidScope
Content copied to clipboard
自动显示网络错误信息协程作用域
PageCoroutineScope
Link copied to clipboard
class PageCoroutineScope(page: PageRefreshLayout, dispatcher: CoroutineDispatcher) : NetCoroutineScope
Content copied to clipboard
StateCoroutineScope
Link copied to clipboard
class StateCoroutineScope(state: StateLayout, dispatcher: CoroutineDispatcher) : NetCoroutineScope
Content copied to clipboard
缺省页作用域
ViewCoroutineScope
Link copied to clipboard
class ViewCoroutineScope(view: View, dispatcher: CoroutineDispatcher) : NetCoroutineScope
Content copied to clipboard
视图作用域 会在视图销毁时自动取消作用域