修改任务线刷新,数据安装刷新
This commit is contained in:
@@ -46,8 +46,9 @@ class ActivityModule {
|
||||
fun providesTaskListDownloadManager(
|
||||
networkServiceAPI: RetrofitNetworkServiceAPI,
|
||||
importFactory: ImportOMDBHiltFactory,
|
||||
mapController: NIMapController
|
||||
): TaskDownloadManager =
|
||||
TaskDownloadManager(importFactory, networkServiceAPI)
|
||||
TaskDownloadManager(importFactory, networkServiceAPI, mapController)
|
||||
|
||||
/**
|
||||
* 注入任务下载
|
||||
|
||||
@@ -67,7 +67,7 @@ class GlobalModule {
|
||||
}.apply {
|
||||
level = if (Constant.DEBUG) {
|
||||
//坑 !!!! 下载文件时打印log 内存不足
|
||||
HttpLoggingInterceptor.Level.BODY
|
||||
HttpLoggingInterceptor.Level.BASIC
|
||||
} else {
|
||||
HttpLoggingInterceptor.Level.NONE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user