# Package com.drake.net.interfaces

## Types

NetCallback
Link copied to clipboard
abstract class NetCallback<T>(lifecycle: LifecycleOwner?, lifeEvent: Lifecycle.Event) : Callback
Content copied to clipboard
提供泛型转换特性 相对于OkHttp的Callback新增三个回调函数: onSuccess onComplete 这三个函数都运行在主线程上
NetDialogFactory
Link copied to clipboard
fun fun interface NetDialogFactory
Content copied to clipboard
NetErrorHandler
Link copied to clipboard
interface NetErrorHandler
Content copied to clipboard
ProgressListener
Link copied to clipboard
abstract class ProgressListener(interval: Long)
Content copied to clipboard
进度监听器, 为下载和上传两者