From 13d1a6742139f6fe0d2ab5f9d405d60fc8361616 Mon Sep 17 00:00:00 2001 From: tangwanchao <18284228392@163.com> Date: Thu, 22 Sep 2022 14:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../twc/source/observer/{ => engine}/ISourceObserverView.kt | 2 +- .../me/twc/source/observer/processor/ErrorSourceProcessor.kt | 2 +- .../twc/source/observer/processor/LoadingSourceProcessor.kt | 3 +-- .../java/me/twc/source/observer/processor/SourceProcessor.kt | 2 +- .../twc/source/observer/processor/SuccessSourceProcessor.kt | 3 +-- .../main/java/me/twc/source/observer/utils/ObserverUtil.kt | 2 +- .../java/me/twc/source/observer/widget/SourceObserverView.kt | 4 +--- 7 files changed, 7 insertions(+), 11 deletions(-) rename observer/src/main/java/me/twc/source/observer/{ => engine}/ISourceObserverView.kt (95%) diff --git a/observer/src/main/java/me/twc/source/observer/ISourceObserverView.kt b/observer/src/main/java/me/twc/source/observer/engine/ISourceObserverView.kt similarity index 95% rename from observer/src/main/java/me/twc/source/observer/ISourceObserverView.kt rename to observer/src/main/java/me/twc/source/observer/engine/ISourceObserverView.kt index 1efcb90..dee0386 100644 --- a/observer/src/main/java/me/twc/source/observer/ISourceObserverView.kt +++ b/observer/src/main/java/me/twc/source/observer/engine/ISourceObserverView.kt @@ -1,4 +1,4 @@ -package me.twc.source.observer +package me.twc.source.observer.engine import me.twc.source.Source import me.twc.source.observer.processor.SourceProcessor diff --git a/observer/src/main/java/me/twc/source/observer/processor/ErrorSourceProcessor.kt b/observer/src/main/java/me/twc/source/observer/processor/ErrorSourceProcessor.kt index f0b3702..47a91a8 100644 --- a/observer/src/main/java/me/twc/source/observer/processor/ErrorSourceProcessor.kt +++ b/observer/src/main/java/me/twc/source/observer/processor/ErrorSourceProcessor.kt @@ -1,7 +1,7 @@ package me.twc.source.observer.processor import me.twc.source.ErrorSource -import me.twc.source.observer.ISourceObserverView +import me.twc.source.observer.engine.ISourceObserverView /** * @author 唐万超 diff --git a/observer/src/main/java/me/twc/source/observer/processor/LoadingSourceProcessor.kt b/observer/src/main/java/me/twc/source/observer/processor/LoadingSourceProcessor.kt index 6569195..aa5f827 100644 --- a/observer/src/main/java/me/twc/source/observer/processor/LoadingSourceProcessor.kt +++ b/observer/src/main/java/me/twc/source/observer/processor/LoadingSourceProcessor.kt @@ -1,8 +1,7 @@ package me.twc.source.observer.processor import me.twc.source.LoadingSource -import me.twc.source.observer.ISourceObserverView -import me.twc.source.observer.widget.SourceObserverView +import me.twc.source.observer.engine.ISourceObserverView /** * @author 唐万超 diff --git a/observer/src/main/java/me/twc/source/observer/processor/SourceProcessor.kt b/observer/src/main/java/me/twc/source/observer/processor/SourceProcessor.kt index ba77eb1..74f80f5 100644 --- a/observer/src/main/java/me/twc/source/observer/processor/SourceProcessor.kt +++ b/observer/src/main/java/me/twc/source/observer/processor/SourceProcessor.kt @@ -4,7 +4,7 @@ import me.twc.source.ErrorSource import me.twc.source.LoadingSource import me.twc.source.Source import me.twc.source.SuccessSource -import me.twc.source.observer.ISourceObserverView +import me.twc.source.observer.engine.ISourceObserverView import me.twc.source.observer.widget.SourceObserverView /** diff --git a/observer/src/main/java/me/twc/source/observer/processor/SuccessSourceProcessor.kt b/observer/src/main/java/me/twc/source/observer/processor/SuccessSourceProcessor.kt index da1da09..c3c8907 100644 --- a/observer/src/main/java/me/twc/source/observer/processor/SuccessSourceProcessor.kt +++ b/observer/src/main/java/me/twc/source/observer/processor/SuccessSourceProcessor.kt @@ -1,8 +1,7 @@ package me.twc.source.observer.processor import me.twc.source.SuccessSource -import me.twc.source.observer.ISourceObserverView -import me.twc.source.observer.widget.SourceObserverView +import me.twc.source.observer.engine.ISourceObserverView /** * @author 唐万超 diff --git a/observer/src/main/java/me/twc/source/observer/utils/ObserverUtil.kt b/observer/src/main/java/me/twc/source/observer/utils/ObserverUtil.kt index bce4380..993a70c 100644 --- a/observer/src/main/java/me/twc/source/observer/utils/ObserverUtil.kt +++ b/observer/src/main/java/me/twc/source/observer/utils/ObserverUtil.kt @@ -5,7 +5,7 @@ import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData import me.twc.source.ErrorSource import me.twc.source.Source -import me.twc.source.observer.ISourceObserverView +import me.twc.source.observer.engine.ISourceObserverView import me.twc.source.observer.processor.* /** diff --git a/observer/src/main/java/me/twc/source/observer/widget/SourceObserverView.kt b/observer/src/main/java/me/twc/source/observer/widget/SourceObserverView.kt index 8270c8d..e372900 100644 --- a/observer/src/main/java/me/twc/source/observer/widget/SourceObserverView.kt +++ b/observer/src/main/java/me/twc/source/observer/widget/SourceObserverView.kt @@ -5,9 +5,7 @@ import android.util.AttributeSet import android.view.View import androidx.annotation.LayoutRes import com.github.nukc.stateview.StateView -import me.twc.source.Source -import me.twc.source.observer.ISourceObserverView -import me.twc.source.observer.processor.* +import me.twc.source.observer.engine.ISourceObserverView /** * @author 唐万超