From 9edc7d1897660a6081cdf830e59387b2a068d2af Mon Sep 17 00:00:00 2001 From: xiaojiniz <347837667@qq.com> Date: Sat, 20 Jan 2024 14:32:36 +0800 Subject: [PATCH] feat: nothing --- .../java/com/xiaojinzi/support/demo/MainUseCase.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/xiaojinzi/support/demo/MainUseCase.kt b/app/src/main/java/com/xiaojinzi/support/demo/MainUseCase.kt index e5f017d..889de5d 100644 --- a/app/src/main/java/com/xiaojinzi/support/demo/MainUseCase.kt +++ b/app/src/main/java/com/xiaojinzi/support/demo/MainUseCase.kt @@ -1,17 +1,17 @@ package com.xiaojinzi.support.demo -import com.xiaojinzi.support.ktx.InitOnceData -import com.xiaojinzi.support.ktx.MutableInitOnceData import com.xiaojinzi.support.architecture.mvvm1.BaseUseCase import com.xiaojinzi.support.architecture.mvvm1.BaseUseCaseImpl import com.xiaojinzi.support.architecture.mvvm1.CommonUseCase import com.xiaojinzi.support.architecture.mvvm1.CommonUseCaseImpl -import com.xiaojinzi.support.ktx.initOnceData import com.xiaojinzi.support.ktx.ErrorIgnoreContext +import com.xiaojinzi.support.ktx.InitOnceData +import com.xiaojinzi.support.ktx.MutableInitOnceData +import com.xiaojinzi.support.ktx.initOnceData import kotlinx.coroutines.flow.first import kotlinx.coroutines.launch -interface MainUseCase: BaseUseCase, CommonUseCase { +interface MainUseCase : BaseUseCase, CommonUseCase { val testInitData1: InitOnceData @@ -21,7 +21,7 @@ interface MainUseCase: BaseUseCase, CommonUseCase { class MainUseCaseImpl( private val commonUseCase: CommonUseCase = CommonUseCaseImpl(), -): BaseUseCaseImpl(), +) : BaseUseCaseImpl(), CommonUseCase by commonUseCase, MainUseCase {