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 唐万超