You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
550 B
Kotlin
20 lines
550 B
Kotlin
package com.idormy.sms.forwarder.core.http.loader
|
|
|
|
import android.content.Context
|
|
import com.xuexiang.xhttp2.subsciber.impl.IProgressLoader
|
|
|
|
/**
|
|
* 迷你加载框创建工厂
|
|
*
|
|
* @author xuexiang
|
|
* @since 2019-11-18 23:23
|
|
*/
|
|
class MiniProgressLoaderFactory : IProgressLoaderFactory {
|
|
override fun create(context: Context?): IProgressLoader {
|
|
return MiniLoadingDialogLoader(context)
|
|
}
|
|
|
|
override fun create(context: Context?, message: String?): IProgressLoader {
|
|
return MiniLoadingDialogLoader(context, message)
|
|
}
|
|
} |