diff --git a/annotation/src/main/java/com/catchpig/annotation/ClickGap.kt b/annotation/src/main/java/com/catchpig/annotation/ClickGap.kt index c5c8c2d..9bcb788 100644 --- a/annotation/src/main/java/com/catchpig/annotation/ClickGap.kt +++ b/annotation/src/main/java/com/catchpig/annotation/ClickGap.kt @@ -1,11 +1,9 @@ package com.catchpig.annotation /** - * 创建时间:2019/9/26 0026
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/26 0026
- * 描述:防止重复点击注解 + * 防止重复点击注解 + * @author catchpig + * @date 2019/9/26 00:26 */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FUNCTION) diff --git a/annotation/src/main/java/com/catchpig/annotation/MethodLog.kt b/annotation/src/main/java/com/catchpig/annotation/MethodLog.kt index 813a345..ca41c64 100644 --- a/annotation/src/main/java/com/catchpig/annotation/MethodLog.kt +++ b/annotation/src/main/java/com/catchpig/annotation/MethodLog.kt @@ -3,11 +3,9 @@ package com.catchpig.annotation import com.catchpig.annotation.enums.LEVEL /** - * 创建时间:2020/11/9 1126
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2020/11/9 1126
- * 描述:防止重复点击注解 + * 打印方法(构造方法)和参数值日志 + * @author catchpig + * @date 2020/11/9 11:26 */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FUNCTION,AnnotationTarget.CONSTRUCTOR) diff --git a/annotation/src/main/java/com/catchpig/annotation/OnClickFirstDrawable.kt b/annotation/src/main/java/com/catchpig/annotation/OnClickFirstDrawable.kt index 639d936..6247296 100644 --- a/annotation/src/main/java/com/catchpig/annotation/OnClickFirstDrawable.kt +++ b/annotation/src/main/java/com/catchpig/annotation/OnClickFirstDrawable.kt @@ -3,14 +3,13 @@ package com.catchpig.annotation import androidx.annotation.DrawableRes /** - * 创建时间:2019/10/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/18 0018
- * 描述:右边第一个图标按钮的点击事件 + * 右边第一个图标按钮的点击事件 * * 修饰的方法可以没有参数和一个参数, * 有参数的时候参数类型必须为View + * + * @author catchpig + * @date 2019/10/18 0018 */ @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) diff --git a/annotation/src/main/java/com/catchpig/annotation/OnClickFirstText.kt b/annotation/src/main/java/com/catchpig/annotation/OnClickFirstText.kt index 2f11695..01f2514 100644 --- a/annotation/src/main/java/com/catchpig/annotation/OnClickFirstText.kt +++ b/annotation/src/main/java/com/catchpig/annotation/OnClickFirstText.kt @@ -3,14 +3,13 @@ package com.catchpig.annotation import androidx.annotation.StringRes /** - * 创建时间:2019/10/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/18 0018
* 描述:右边第一个文字按钮的点击事件 * * 修饰的方法可以没有参数和一个参数, * 有参数的时候参数类型必须为View + * + * @author catchpig + * @date 2019/10/18 0018 */ @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) diff --git a/annotation/src/main/java/com/catchpig/annotation/OnClickSecondDrawable.kt b/annotation/src/main/java/com/catchpig/annotation/OnClickSecondDrawable.kt index 7f65af9..01521d1 100644 --- a/annotation/src/main/java/com/catchpig/annotation/OnClickSecondDrawable.kt +++ b/annotation/src/main/java/com/catchpig/annotation/OnClickSecondDrawable.kt @@ -3,14 +3,12 @@ package com.catchpig.annotation import androidx.annotation.DrawableRes /** - * 创建时间:2019/10/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/18 0018
* 描述:右边第二个图标按钮的点击事件 * * 修饰的方法可以没有参数和一个参数, * 有参数的时候参数类型必须为View + * @author catchpig + * @date 2019/10/18 00:18 */ @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) diff --git a/annotation/src/main/java/com/catchpig/annotation/OnClickSecondText.kt b/annotation/src/main/java/com/catchpig/annotation/OnClickSecondText.kt index f5a516b..46ebe78 100644 --- a/annotation/src/main/java/com/catchpig/annotation/OnClickSecondText.kt +++ b/annotation/src/main/java/com/catchpig/annotation/OnClickSecondText.kt @@ -3,14 +3,13 @@ package com.catchpig.annotation import androidx.annotation.StringRes /** - * 创建时间:2019/10/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/18 0018
- * 描述:右边第二个文字按钮的点击事件 + * 右边第二个文字按钮的点击事件 * * 修饰的方法可以没有参数和一个参数, * 有参数的时候参数类型必须为View + * @author catchpig + * @date 2019/10/18 00:18 + */ @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) diff --git a/annotation/src/main/java/com/catchpig/annotation/Prefs.kt b/annotation/src/main/java/com/catchpig/annotation/Prefs.kt index 11c460d..8995b00 100644 --- a/annotation/src/main/java/com/catchpig/annotation/Prefs.kt +++ b/annotation/src/main/java/com/catchpig/annotation/Prefs.kt @@ -3,11 +3,9 @@ package com.catchpig.annotation import com.catchpig.annotation.enums.PrefsMode /** - * 创建时间:2019/10/29 0029
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/29 0029
- * 描述:SharedPreferences注解,可生成对应的文件 + * SharedPreferences注解,可生成对应的文件 + * @author catchpig + * @date 2019/10/29 00:29 */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.CLASS) diff --git a/annotation/src/main/java/com/catchpig/annotation/PrefsField.kt b/annotation/src/main/java/com/catchpig/annotation/PrefsField.kt index 5094a30..8c8e460 100644 --- a/annotation/src/main/java/com/catchpig/annotation/PrefsField.kt +++ b/annotation/src/main/java/com/catchpig/annotation/PrefsField.kt @@ -1,11 +1,10 @@ package com.catchpig.annotation /** - * 创建时间:2019/10/29 0029
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/29 0029
- * 描述:只能修饰在Double,Float,Int,Long,String,Boolean类型上的注解 + * Shared的参数注解 + * 只能修饰在Double,Float,Int,Long,String,Boolean类型上的注解 + * @author catchpig + * @date 2019/10/29 00:29 */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FIELD) diff --git a/annotation/src/main/java/com/catchpig/annotation/StatusBar.kt b/annotation/src/main/java/com/catchpig/annotation/StatusBar.kt index e1611a5..742e8fa 100644 --- a/annotation/src/main/java/com/catchpig/annotation/StatusBar.kt +++ b/annotation/src/main/java/com/catchpig/annotation/StatusBar.kt @@ -2,11 +2,9 @@ package com.catchpig.annotation /** - * 创建时间:2019/8/19 0019
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/19 0019
- * 描述:状态栏 + * 状态栏 + * @author catchpig + * @date 2019/8/19 00:19 */ @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) diff --git a/annotation/src/main/java/com/catchpig/annotation/TimeLog.kt b/annotation/src/main/java/com/catchpig/annotation/TimeLog.kt index 1358788..f29aea7 100644 --- a/annotation/src/main/java/com/catchpig/annotation/TimeLog.kt +++ b/annotation/src/main/java/com/catchpig/annotation/TimeLog.kt @@ -3,11 +3,9 @@ package com.catchpig.annotation import com.catchpig.annotation.enums.LEVEL /** - * 创建时间:2019/10/20 0020
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/20 0020
- * 描述:方法和构造方法的耗时打印 + * 方法和构造方法的耗时打印 + * @author catchpig + * @date 2019/10/20 00:20 */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FUNCTION,AnnotationTarget.CONSTRUCTOR) diff --git a/annotation/src/main/java/com/catchpig/annotation/Title.kt b/annotation/src/main/java/com/catchpig/annotation/Title.kt index b627110..398755a 100644 --- a/annotation/src/main/java/com/catchpig/annotation/Title.kt +++ b/annotation/src/main/java/com/catchpig/annotation/Title.kt @@ -3,15 +3,11 @@ package com.catchpig.annotation import androidx.annotation.ColorRes import androidx.annotation.DrawableRes import androidx.annotation.StringRes -import javax.annotation.Resource -import javax.annotation.Resources /** - * 创建时间:2019/8/19 0019
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/19 0019
- * 描述:标题栏 + * 标题栏 + * @author catchpig + * @date 2019/8/19 00:19 */ @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) diff --git a/annotation/src/main/java/com/catchpig/annotation/enums/PrefsMode.kt b/annotation/src/main/java/com/catchpig/annotation/enums/PrefsMode.kt index 8c66720..ca874f9 100644 --- a/annotation/src/main/java/com/catchpig/annotation/enums/PrefsMode.kt +++ b/annotation/src/main/java/com/catchpig/annotation/enums/PrefsMode.kt @@ -1,11 +1,9 @@ package com.catchpig.annotation.enums /** - * 创建时间:2019/10/29 0029
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/29 0029
- * 描述:SharedPreferences模式 + * SharedPreferences模式 + * @author catchpig + * @date 2019/10/29 0029 */ enum class PrefsMode(val value:Int) { MODE_PRIVATE(0x0000), diff --git a/aop/src/main/java/com/catchpig/aop/ClickGapAspectJ.kt b/aop/src/main/java/com/catchpig/aop/ClickGapAspectJ.kt index cc65702..2773320 100644 --- a/aop/src/main/java/com/catchpig/aop/ClickGapAspectJ.kt +++ b/aop/src/main/java/com/catchpig/aop/ClickGapAspectJ.kt @@ -7,11 +7,9 @@ import org.aspectj.lang.annotation.Aspect import org.aspectj.lang.annotation.Pointcut /** - * 创建时间:2019/8/19 0019
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/19 0019
- * 描述: 防止重复点击 + * 防止重复点击 + * @author catchpig + * @date 2019/8/19 00:19 */ @Aspect class ClickGapAspectJ { diff --git a/aop/src/main/java/com/catchpig/aop/LifecycleLogAspectJ.kt b/aop/src/main/java/com/catchpig/aop/LifecycleLogAspectJ.kt index 9c46a50..161c216 100644 --- a/aop/src/main/java/com/catchpig/aop/LifecycleLogAspectJ.kt +++ b/aop/src/main/java/com/catchpig/aop/LifecycleLogAspectJ.kt @@ -5,11 +5,9 @@ import org.aspectj.lang.JoinPoint import org.aspectj.lang.annotation.* /** - * 创建时间:2019/9/26 0026
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/26 0026
- * 描述:打印生命周期日志 + * 打印生命周期日志 + * @author catchpig + * @date 2019/9/26 00:26 */ @Aspect class LifecycleLogAspectJ { diff --git a/aop/src/main/java/com/catchpig/aop/MethodLogAspectJ.kt b/aop/src/main/java/com/catchpig/aop/MethodLogAspectJ.kt index 80b32cf..de2d1a8 100644 --- a/aop/src/main/java/com/catchpig/aop/MethodLogAspectJ.kt +++ b/aop/src/main/java/com/catchpig/aop/MethodLogAspectJ.kt @@ -8,11 +8,9 @@ import org.aspectj.lang.annotation.Aspect import org.aspectj.lang.annotation.Pointcut /** - * 创建时间:2019/10/20 0020
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/20 0020
- * 描述:打印方法和构造函数的方法和参数值 + * 打印方法和构造函数的方法和参数值 + * @author catchpig + * @date 2019/10/20 0020 */ @Aspect class MethodLogAspectJ { diff --git a/aop/src/main/java/com/catchpig/aop/TimeLogAspectJ.kt b/aop/src/main/java/com/catchpig/aop/TimeLogAspectJ.kt index 23c1ac3..2d074ea 100644 --- a/aop/src/main/java/com/catchpig/aop/TimeLogAspectJ.kt +++ b/aop/src/main/java/com/catchpig/aop/TimeLogAspectJ.kt @@ -8,11 +8,9 @@ import org.aspectj.lang.annotation.Aspect import org.aspectj.lang.annotation.Pointcut /** - * 创建时间:2019/10/20 0020
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/20 0020
- * 描述:方法和构造函数的耗时打印 + * 方法和构造函数的耗时打印 + * @author catchpig + * @date 2019/10/20 00:20 */ @Aspect class TimeLogAspectJ { diff --git a/app/src/main/java/com/catchpig/kotlin_mvp/app/KotlinMvpApp.kt b/app/src/main/java/com/catchpig/kotlin_mvp/app/KotlinMvpApp.kt index fcd3a9a..8316c4e 100644 --- a/app/src/main/java/com/catchpig/kotlin_mvp/app/KotlinMvpApp.kt +++ b/app/src/main/java/com/catchpig/kotlin_mvp/app/KotlinMvpApp.kt @@ -15,11 +15,8 @@ import org.koin.core.context.startKoin import org.koin.core.logger.Level /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述: + * @author catchpig + * @date 2019/8/18 00:18 */ class KotlinMvpApp:Application(){ diff --git a/app/src/main/java/com/catchpig/kotlin_mvp/di/MainModule.kt b/app/src/main/java/com/catchpig/kotlin_mvp/di/MainModule.kt index 839f5d3..bf5c9dc 100644 --- a/app/src/main/java/com/catchpig/kotlin_mvp/di/MainModule.kt +++ b/app/src/main/java/com/catchpig/kotlin_mvp/di/MainModule.kt @@ -8,11 +8,8 @@ import org.koin.dsl.bind import org.koin.dsl.module /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述: + * @author catchpig + * @date 2019/8/18 00:18 */ val mainModule = module() { scope { diff --git a/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/MainContract.kt b/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/MainContract.kt index 818e945..d7e02ee 100644 --- a/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/MainContract.kt +++ b/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/MainContract.kt @@ -7,11 +7,8 @@ import com.catchpig.mvp.network.listener.DownloadCallback import io.reactivex.Flowable /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述: + * @author catchpig + * @date 2019/8/18 00:18 */ interface MainContract { interface View:BaseContract.View{ diff --git a/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/presenter/MainPresenter.kt b/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/presenter/MainPresenter.kt index ded95f5..f6fb688 100644 --- a/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/presenter/MainPresenter.kt +++ b/app/src/main/java/com/catchpig/kotlin_mvp/mvp/main/presenter/MainPresenter.kt @@ -9,11 +9,8 @@ import com.catchpig.mvp.bean.DownloadInfo import com.catchpig.mvp.network.listener.DownloadCallback /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述: + * @author catchpig + * @date 2019/8/18 00:18 */ class MainPresenter @TimeLog constructor(private val view:MainContract.View,private val model:MainContract.Model): BasePresenter(),MainContract.Presenter { override fun onCreate() { diff --git a/compiler/src/main/java/com/catchpig/compiler/BaseProcessor.kt b/compiler/src/main/java/com/catchpig/compiler/BaseProcessor.kt index ccfca94..4e6e2b8 100644 --- a/compiler/src/main/java/com/catchpig/compiler/BaseProcessor.kt +++ b/compiler/src/main/java/com/catchpig/compiler/BaseProcessor.kt @@ -9,11 +9,8 @@ import javax.lang.model.util.Elements import javax.tools.Diagnostic /** - * 创建时间:2019/10/29 0029
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/29 0029
- * 描述: + * @author catchpig + * @date 2019/10/29 00:29 */ abstract class BaseProcessor:AbstractProcessor() { protected lateinit var elementUtils: Elements diff --git a/compiler/src/main/java/com/catchpig/compiler/PrefsProcessor.kt b/compiler/src/main/java/com/catchpig/compiler/PrefsProcessor.kt index 6a6b5d6..b35fca8 100644 --- a/compiler/src/main/java/com/catchpig/compiler/PrefsProcessor.kt +++ b/compiler/src/main/java/com/catchpig/compiler/PrefsProcessor.kt @@ -11,11 +11,9 @@ import javax.lang.model.element.TypeElement import javax.lang.model.type.TypeKind /** - * 创建时间:2019/10/29 0029
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/29 0029
- * 描述:Prefs注解生成器 + * Prefs注解生成器 + * @author catchpig + * @date 2019/10/29 00:29 */ @AutoService(Processor::class) class PrefsProcessor : BaseProcessor() { diff --git a/mvp/src/main/java/com/catchpig/mvp/apt/KotlinMvpCompiler.kt b/mvp/src/main/java/com/catchpig/mvp/apt/KotlinMvpCompiler.kt index c907b98..8b20df7 100644 --- a/mvp/src/main/java/com/catchpig/mvp/apt/KotlinMvpCompiler.kt +++ b/mvp/src/main/java/com/catchpig/mvp/apt/KotlinMvpCompiler.kt @@ -4,11 +4,8 @@ import com.catchpig.mvp.base.activity.BaseActivity import com.catchpig.utils.ext.logd /** - * 创建时间:2019/10/17 0017
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/17 0017
- * 描述: + * @author catchpig + * @date 2019/10/17 00:17 */ object KotlinMvpCompiler { private const val TAG = "KotlinMvpCompiler" diff --git a/mvp/src/main/java/com/catchpig/mvp/apt/MvpCompiler.kt b/mvp/src/main/java/com/catchpig/mvp/apt/MvpCompiler.kt index b18461c..bc6b2d3 100644 --- a/mvp/src/main/java/com/catchpig/mvp/apt/MvpCompiler.kt +++ b/mvp/src/main/java/com/catchpig/mvp/apt/MvpCompiler.kt @@ -3,11 +3,8 @@ package com.catchpig.mvp.apt import com.catchpig.mvp.base.activity.BaseActivity /** - * 创建时间:2019/10/17 0017
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/17 0017
- * 描述: + * @author catchpig + * @date 2019/10/17 00:17 */ interface MvpCompiler { /** diff --git a/mvp/src/main/java/com/catchpig/mvp/base/BaseContract.kt b/mvp/src/main/java/com/catchpig/mvp/base/BaseContract.kt index 28fa699..587412a 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/BaseContract.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/BaseContract.kt @@ -11,11 +11,8 @@ import io.reactivex.disposables.Disposable import io.reactivex.subscribers.ResourceSubscriber /** - * 创建时间:2019/4/6 10:33

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/6 10:33

- * 描述: + * @author catchpig + * @date 2019/4/6 10:33 */ interface BaseContract { interface View { diff --git a/mvp/src/main/java/com/catchpig/mvp/base/BasePresenter.kt b/mvp/src/main/java/com/catchpig/mvp/base/BasePresenter.kt index 368c827..1bb1cb3 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/BasePresenter.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/BasePresenter.kt @@ -10,11 +10,8 @@ import io.reactivex.subscribers.ResourceSubscriber /** - * 创建时间:2019/4/6 10:35

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/6 10:35

- * 描述: + * @author catchpig + * @date 2019/4/6 10:35 */ open class BasePresenter: BaseContract.Presenter { private var mCompositeDisposable: CompositeDisposable = CompositeDisposable() diff --git a/mvp/src/main/java/com/catchpig/mvp/base/activity/BaseActivity.kt b/mvp/src/main/java/com/catchpig/mvp/base/activity/BaseActivity.kt index 560cfe0..a79d94d 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/activity/BaseActivity.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/activity/BaseActivity.kt @@ -17,11 +17,6 @@ import com.catchpig.utils.ext.longToast import kotlinx.android.synthetic.main.view_root.* /** - * 创建时间:2019/4/4 00:09

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/4 00:09

- * 描述: * --------------状态栏---------------- * 请使用注解[com.catchpig.annotation.StatusBar] * 想让注解不可用,请设置[com.catchpig.annotation.StatusBar.enabled]为true @@ -45,6 +40,8 @@ import kotlinx.android.synthetic.main.view_root.* * @[com.catchpig.annotation.OnClickSecondDrawable] * --------------标题栏右边按钮点击事件--------------- * + * @author catchpig + * @date 2019/4/4 00:09 */ abstract class BaseActivity : AppCompatActivity(), BaseContract.View { private var loadingViewController: LoadingViewController? = null diff --git a/mvp/src/main/java/com/catchpig/mvp/base/activity/BasePresenterActivity.kt b/mvp/src/main/java/com/catchpig/mvp/base/activity/BasePresenterActivity.kt index dd7c6d0..24bb02b 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/activity/BasePresenterActivity.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/activity/BasePresenterActivity.kt @@ -4,17 +4,12 @@ import android.os.Bundle import androidx.annotation.CallSuper import com.catchpig.mvp.base.BaseContract import org.koin.androidx.scope.activityScope -import org.koin.core.parameter.parametersOf import org.koin.core.scope.KoinScopeComponent import org.koin.core.scope.Scope -import org.koin.core.scope.inject /** - * 创建时间:2019/4/6 11:07

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/6 11:07

- * 描述: + * @author catchpig + * @date 2019/4/6 11:07 */ abstract class BasePresenterActivity

: BaseActivity(),KoinScopeComponent { diff --git a/mvp/src/main/java/com/catchpig/mvp/base/adapter/CommonViewHolder.kt b/mvp/src/main/java/com/catchpig/mvp/base/adapter/CommonViewHolder.kt index f5c0aad..80b9415 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/adapter/CommonViewHolder.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/adapter/CommonViewHolder.kt @@ -5,11 +5,8 @@ import androidx.recyclerview.widget.RecyclerView import kotlinx.android.extensions.LayoutContainer /** - * 创建时间:2019/7/21 0021
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/7/21 0021
- * 描述: + * @author catchpig + * @date 2019/7/21 0021 */ class CommonViewHolder(itemView:View) : RecyclerView.ViewHolder(itemView),LayoutContainer { override val containerView = itemView diff --git a/mvp/src/main/java/com/catchpig/mvp/base/adapter/IAdapterListControl.kt b/mvp/src/main/java/com/catchpig/mvp/base/adapter/IAdapterListControl.kt index dc798fa..11df2a6 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/adapter/IAdapterListControl.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/adapter/IAdapterListControl.kt @@ -1,11 +1,9 @@ package com.catchpig.mvp.base.adapter /** - * 创建时间:2017/12/21 19:49

- * 创建人: 廖斌

- * 修改人: 廖斌

- * 修改时间: 2017/12/21 19:49

- * 描述: 数据填充接口 + * 数据填充接口 + * @author catchpig + * @date 2017/12/21 19:49 */ interface IAdapterListControl { diff --git a/mvp/src/main/java/com/catchpig/mvp/base/adapter/RecyclerAdapter.kt b/mvp/src/main/java/com/catchpig/mvp/base/adapter/RecyclerAdapter.kt index 66624d0..f025c33 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/adapter/RecyclerAdapter.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/adapter/RecyclerAdapter.kt @@ -19,11 +19,9 @@ import java.util.* /** - * 创建时间:2017/12/21 19:45

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2017年12月22日13:43:56

- * 描述: RecyclerViewAdapter基类 + * RecyclerViewAdapter基类 + * @author catchpig + * @date 2017年12月22日13:43:56 */ abstract class RecyclerAdapter(private val iPageControl: IPageControl? = null) : RecyclerView.Adapter(), IAdapterListControl { diff --git a/mvp/src/main/java/com/catchpig/mvp/base/fragment/BaseFragment.kt b/mvp/src/main/java/com/catchpig/mvp/base/fragment/BaseFragment.kt index d83bc5f..be3e12e 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/fragment/BaseFragment.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/fragment/BaseFragment.kt @@ -14,11 +14,9 @@ import com.catchpig.mvp.base.BaseContract import com.catchpig.mvp.base.activity.BaseActivity /** - * 创建时间:2019/4/4 23:14

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/4 23:14

- * 描述: + * Fragment封装基类 + * @author catchpig + * @date 2019/4/4 23:14 */ abstract class BaseFragment : Fragment(), BaseContract.View { override fun baseActivity(): BaseActivity? { @@ -29,7 +27,7 @@ abstract class BaseFragment : Fragment(), BaseContract.View { } override fun activity(): Activity { - return activity!! + return requireActivity() } override fun applicationContext(): Context { diff --git a/mvp/src/main/java/com/catchpig/mvp/base/fragment/BasePresenterFragment.kt b/mvp/src/main/java/com/catchpig/mvp/base/fragment/BasePresenterFragment.kt index 031cf06..154cacf 100644 --- a/mvp/src/main/java/com/catchpig/mvp/base/fragment/BasePresenterFragment.kt +++ b/mvp/src/main/java/com/catchpig/mvp/base/fragment/BasePresenterFragment.kt @@ -10,11 +10,8 @@ import org.koin.core.scope.KoinScopeComponent import org.koin.core.scope.Scope /** - * 创建时间:2019/4/6 11:25

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/6 11:25

- * 描述: + * @author catchpig + * @date 2019/4/6 11:25 */ abstract class BasePresenterFragment

: BaseFragment(), LifecycleObserver,KoinScopeComponent { override val scope: Scope by lazy { fragmentScope() } diff --git a/mvp/src/main/java/com/catchpig/mvp/bean/DownloadInfo.kt b/mvp/src/main/java/com/catchpig/mvp/bean/DownloadInfo.kt index b316221..894f7a3 100644 --- a/mvp/src/main/java/com/catchpig/mvp/bean/DownloadInfo.kt +++ b/mvp/src/main/java/com/catchpig/mvp/bean/DownloadInfo.kt @@ -2,7 +2,7 @@ package com.catchpig.mvp.bean /** * 下载信息 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:34 */ data class DownloadInfo( diff --git a/mvp/src/main/java/com/catchpig/mvp/config/Config.kt b/mvp/src/main/java/com/catchpig/mvp/config/Config.kt index 12a748f..2477c73 100644 --- a/mvp/src/main/java/com/catchpig/mvp/config/Config.kt +++ b/mvp/src/main/java/com/catchpig/mvp/config/Config.kt @@ -3,11 +3,9 @@ package com.catchpig.mvp.config import com.google.gson.GsonBuilder /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述:配置 + * 配置 + * @author catchpig + * @date 2019/8/18 0018 */ object Config { const val TIME_OUT = 5000L diff --git a/mvp/src/main/java/com/catchpig/mvp/controller/StatusBarController.kt b/mvp/src/main/java/com/catchpig/mvp/controller/StatusBarController.kt index 05a0b05..ac0451f 100644 --- a/mvp/src/main/java/com/catchpig/mvp/controller/StatusBarController.kt +++ b/mvp/src/main/java/com/catchpig/mvp/controller/StatusBarController.kt @@ -11,11 +11,9 @@ import com.gyf.immersionbar.ImmersionBar import com.gyf.immersionbar.ktx.immersionBar /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述:状态栏处理器 + * 状态栏处理器 + * @author catchpig + * @date 2019/8/18 00:18 */ class StatusBarController(private val baseActivity: BaseActivity, private val title: TitleParam?, private val statusBar: StatusBarParam?) { diff --git a/mvp/src/main/java/com/catchpig/mvp/controller/TitleBarController.kt b/mvp/src/main/java/com/catchpig/mvp/controller/TitleBarController.kt index cfc1e85..59439cf 100644 --- a/mvp/src/main/java/com/catchpig/mvp/controller/TitleBarController.kt +++ b/mvp/src/main/java/com/catchpig/mvp/controller/TitleBarController.kt @@ -15,11 +15,9 @@ import kotlinx.android.synthetic.main.layout_title_bar.* import kotlinx.android.synthetic.main.layout_title_bar.view.* /** - * 创建时间:2019/8/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/18 0018
- * 描述:标题栏处理器 + * 标题栏处理器 + * @author catchpig + * @date 2019/8/18 00:18 */ class TitleBarController(private val baseActivity: BaseActivity, private val title: TitleParam) : View.OnClickListener { diff --git a/mvp/src/main/java/com/catchpig/mvp/di/AppModule.kt b/mvp/src/main/java/com/catchpig/mvp/di/AppModule.kt index cdf3423..697a61a 100644 --- a/mvp/src/main/java/com/catchpig/mvp/di/AppModule.kt +++ b/mvp/src/main/java/com/catchpig/mvp/di/AppModule.kt @@ -22,11 +22,8 @@ import java.util.* import java.util.concurrent.TimeUnit /** - * 创建时间:2019/4/6 10:24

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2019/4/6 10:24

- * 描述: + * @author catchpig + * @date 2019/4/6 10:24 */ val appModule = module { diff --git a/mvp/src/main/java/com/catchpig/mvp/entity/StatusBarParam.kt b/mvp/src/main/java/com/catchpig/mvp/entity/StatusBarParam.kt index cc73e6b..25b1b5f 100644 --- a/mvp/src/main/java/com/catchpig/mvp/entity/StatusBarParam.kt +++ b/mvp/src/main/java/com/catchpig/mvp/entity/StatusBarParam.kt @@ -1,11 +1,8 @@ package com.catchpig.mvp.entity /** - * 创建时间:2019/10/18 0018
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/18 0018
- * 描述: + * @author catchpig + * @date 2019/10/18 0018 */ data class StatusBarParam ( /** diff --git a/mvp/src/main/java/com/catchpig/mvp/entity/TitleMenuParam.kt b/mvp/src/main/java/com/catchpig/mvp/entity/TitleMenuParam.kt index 4772c77..8c060cc 100644 --- a/mvp/src/main/java/com/catchpig/mvp/entity/TitleMenuParam.kt +++ b/mvp/src/main/java/com/catchpig/mvp/entity/TitleMenuParam.kt @@ -4,11 +4,8 @@ import androidx.annotation.DrawableRes import androidx.annotation.StringRes /** - * 创建时间:2019/10/17 0017
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/17 0017
- * 描述: + * @author catchpig + * @date 2019/10/17 00:17 */ data class TitleMenuParam( /** diff --git a/mvp/src/main/java/com/catchpig/mvp/entity/TitleParam.kt b/mvp/src/main/java/com/catchpig/mvp/entity/TitleParam.kt index 240e592..4d63923 100644 --- a/mvp/src/main/java/com/catchpig/mvp/entity/TitleParam.kt +++ b/mvp/src/main/java/com/catchpig/mvp/entity/TitleParam.kt @@ -5,11 +5,8 @@ import androidx.annotation.DrawableRes import androidx.annotation.StringRes /** - * 创建时间:2019/10/17 0017
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/17 0017
- * 描述: + * @author catchpig + * @date 2019/10/17 00:17 */ data class TitleParam( /** diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/AnnotationExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/AnnotationExt.kt index 2560ef7..1fe7c3a 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/AnnotationExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/AnnotationExt.kt @@ -1,11 +1,8 @@ package com.catchpig.mvp.ext /** - * 创建时间:2019/9/23 0023
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/23 0023
- * 描述: + * @author catchpig + * @date 2019/9/23 00:23 */ /** diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/CalendarExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/CalendarExt.kt index b2823bf..baae9c1 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/CalendarExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/CalendarExt.kt @@ -1,18 +1,8 @@ package com.catchpig.mvp.ext import com.catchpig.mvp.config.Config -import java.text.SimpleDateFormat import java.util.* -/** - * 创建时间:2019/9/28 0028
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/28 0028
- * 描述: - */ - - /** * 字符串转化为时间 diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/ContextExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/ContextExt.kt index e8b92e0..d52fc5a 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/ContextExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/ContextExt.kt @@ -12,11 +12,9 @@ import com.catchpig.mvp.R import com.catchpig.utils.ext.logd /** - * 创建时间:2019/8/19 0019
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/19 0019
- * 描述:全局主题的配置信息 + * 全局主题的配置信息 + * @author catchpig + * @date 2019/8/19 00:19 */ /** * 获取主题色 diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/DateExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/DateExt.kt index 7814671..5e0320b 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/DateExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/DateExt.kt @@ -4,15 +4,6 @@ import com.catchpig.mvp.config.Config import java.text.SimpleDateFormat import java.util.* -/** - * 创建时间:2019/9/27 0027
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/27 0027
- * 描述: - */ - - /** * 字符串转化为时间 */ diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/EditTextExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/EditTextExt.kt index adcb59b..91ff8b2 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/EditTextExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/EditTextExt.kt @@ -3,13 +3,7 @@ package com.catchpig.mvp.ext import android.text.Editable import android.widget.EditText -/** - * 创建时间:2019/8/28 0028
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/28 0028
- * 描述:输入框扩展类 - */ + /** * 给输入框赋值 diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/RxJavaExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/RxJavaExt.kt index 05283fb..7b0b311 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/RxJavaExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/RxJavaExt.kt @@ -4,14 +4,6 @@ import io.reactivex.Flowable import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers -/** - * 创建时间:2019/9/21 0021
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/21 0021
- * 描述:RxJava扩展类 - */ - /** * 被观察者在io线程中执行,观察者在主线程中执行 */ diff --git a/mvp/src/main/java/com/catchpig/mvp/ext/StringExt.kt b/mvp/src/main/java/com/catchpig/mvp/ext/StringExt.kt index 63fc76f..d38e97c 100644 --- a/mvp/src/main/java/com/catchpig/mvp/ext/StringExt.kt +++ b/mvp/src/main/java/com/catchpig/mvp/ext/StringExt.kt @@ -1,16 +1,6 @@ package com.catchpig.mvp.ext -import com.catchpig.mvp.config.Config -import java.text.SimpleDateFormat -import java.util.* -/** - * 创建时间:2019/8/31 0031
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/31 0031
- * 描述: - */ /** * 判断不为null */ diff --git a/mvp/src/main/java/com/catchpig/mvp/gson/DateJsonDeserializer.kt b/mvp/src/main/java/com/catchpig/mvp/gson/DateJsonDeserializer.kt index a0973e4..512f523 100644 --- a/mvp/src/main/java/com/catchpig/mvp/gson/DateJsonDeserializer.kt +++ b/mvp/src/main/java/com/catchpig/mvp/gson/DateJsonDeserializer.kt @@ -7,11 +7,9 @@ import java.lang.reflect.Type import java.util.* /** - * 创建时间:2019/9/27 0027
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/27 0027
- * 描述:时间错转化时间类型 + * 时间错转化时间类型 + * @author catchpig + * @date 2019/9/27 0027 */ class DateJsonDeserializer:JsonDeserializer { override fun deserialize(json: JsonElement?, typeOfT: Type?, context: JsonDeserializationContext?): Date { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadManager.kt b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadManager.kt index 5549cb7..e31c6de 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadManager.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadManager.kt @@ -19,7 +19,7 @@ import java.nio.channels.FileChannel /** * 描述:下载工具类 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ class DownloadManager { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadResponseBody.kt b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadResponseBody.kt index d6b0557..026ceb5 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadResponseBody.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadResponseBody.kt @@ -8,7 +8,7 @@ import java.io.IOException /** * 下载进度处理,并将进度下发给进度回调接口 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ class DownloadResponseBody(private val responseBody: ResponseBody,private val progressListener: DownloadProgressListener) :ResponseBody() { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadService.kt b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadService.kt index a52158c..ace2be2 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadService.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadService.kt @@ -8,7 +8,7 @@ import retrofit2.http.Streaming import retrofit2.http.Url /** * 下载网络接口服务 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ interface DownloadService { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadSubscriber.kt b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadSubscriber.kt index 6fe27f3..12c9cc8 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadSubscriber.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/download/DownloadSubscriber.kt @@ -7,7 +7,7 @@ import io.reactivex.subscribers.ResourceSubscriber import java.lang.ref.WeakReference /** * 下载观察者 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ class DownloadSubscriber(downloadCallback: DownloadCallback):ResourceSubscriber(), DownloadProgressListener { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/interceptor/DownloadInterceptor.kt b/mvp/src/main/java/com/catchpig/mvp/network/interceptor/DownloadInterceptor.kt index 379afa6..a65e994 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/interceptor/DownloadInterceptor.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/interceptor/DownloadInterceptor.kt @@ -7,7 +7,7 @@ import okhttp3.Response import java.io.IOException /** * 下载拦截器 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ class DownloadInterceptor(private val downloadProgressListener: DownloadProgressListener):Interceptor { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadCallback.kt b/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadCallback.kt index 533ca40..d23e6a3 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadCallback.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadCallback.kt @@ -1,7 +1,7 @@ package com.catchpig.mvp.network.listener /** * 下载回调接口 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ interface DownloadCallback { diff --git a/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadProgressListener.kt b/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadProgressListener.kt index d98701b..35769f1 100644 --- a/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadProgressListener.kt +++ b/mvp/src/main/java/com/catchpig/mvp/network/listener/DownloadProgressListener.kt @@ -1,7 +1,7 @@ package com.catchpig.mvp.network.listener /** * 下载进度回调接口 - * @author catchpig + * @author catchpig * @date 2020/11/20 10:25 */ interface DownloadProgressListener { diff --git a/mvp/src/main/java/com/catchpig/mvp/provider/KotlinMvpContentProvider.kt b/mvp/src/main/java/com/catchpig/mvp/provider/KotlinMvpContentProvider.kt index a255afb..90ad6f3 100644 --- a/mvp/src/main/java/com/catchpig/mvp/provider/KotlinMvpContentProvider.kt +++ b/mvp/src/main/java/com/catchpig/mvp/provider/KotlinMvpContentProvider.kt @@ -8,11 +8,8 @@ import android.net.Uri import com.catchpig.mvp.lifecycle.ActivityManagerLifeCycleCallbacksImpl /** - * 创建时间:2019/10/21 0021
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/10/21 0021
- * 描述: + * @author catchpig + * @date 2019/10/21 00:21 */ class KotlinMvpContentProvider : ContentProvider() { companion object{ diff --git a/mvp/src/main/java/com/catchpig/mvp/widget/refresh/IPageControl.kt b/mvp/src/main/java/com/catchpig/mvp/widget/refresh/IPageControl.kt index ff65b24..db7210b 100644 --- a/mvp/src/main/java/com/catchpig/mvp/widget/refresh/IPageControl.kt +++ b/mvp/src/main/java/com/catchpig/mvp/widget/refresh/IPageControl.kt @@ -3,11 +3,9 @@ package com.catchpig.mvp.widget.refresh import com.scwang.smart.refresh.layout.constant.RefreshState /** - * 创建时间:2017/12/21 19:49

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2017/12/21 19:49

- * 描述: 页码关联 + * 页码关联 + * @author catchpig + * @date 2017/12/21 19:49 */ interface IPageControl { /** diff --git a/mvp/src/main/java/com/catchpig/mvp/widget/refresh/OnRefreshListener.kt b/mvp/src/main/java/com/catchpig/mvp/widget/refresh/OnRefreshListener.kt index d461b6a..c2404a4 100644 --- a/mvp/src/main/java/com/catchpig/mvp/widget/refresh/OnRefreshListener.kt +++ b/mvp/src/main/java/com/catchpig/mvp/widget/refresh/OnRefreshListener.kt @@ -5,11 +5,9 @@ import com.scwang.smart.refresh.layout.api.RefreshLayout import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener /** - * 创建时间:2017/12/20 18:13

- * 创建人: 李涛

- * 修改人: 李涛

- * 修改时间: 2017/12/20 18:13

- * 描述:下拉刷新和上拉加载更多的封装类 + * 下拉刷新和上拉加载更多的封装类 + * @author catchpig + * @date 2017/12/20 18:13 */ abstract class OnRefreshListener : OnRefreshLoadMoreListener { diff --git a/mvp/src/main/java/com/catchpig/mvp/widget/refresh/RefreshLayoutWrapper.kt b/mvp/src/main/java/com/catchpig/mvp/widget/refresh/RefreshLayoutWrapper.kt index 0d01cde..a6c6a6d 100644 --- a/mvp/src/main/java/com/catchpig/mvp/widget/refresh/RefreshLayoutWrapper.kt +++ b/mvp/src/main/java/com/catchpig/mvp/widget/refresh/RefreshLayoutWrapper.kt @@ -9,11 +9,9 @@ import com.scwang.smart.refresh.layout.constant.RefreshState /** - * 创建时间:2017/12/20 16:44

- * 创建人: 李涛

- * 修改人: 廖斌

- * 修改时间: 2017/12/21 20:10

- * 描述: 刷新界面 + * 刷新界面 + * @author catchpig + * @date 2017/12/21 20:10 */ class RefreshLayoutWrapper( diff --git a/utils/src/main/java/com/catchpig/utils/ext/AnnotationExt.kt b/utils/src/main/java/com/catchpig/utils/ext/AnnotationExt.kt index 674c48c..aed4c3e 100644 --- a/utils/src/main/java/com/catchpig/utils/ext/AnnotationExt.kt +++ b/utils/src/main/java/com/catchpig/utils/ext/AnnotationExt.kt @@ -1,13 +1,5 @@ package com.catchpig.utils.ext -/** - * 创建时间:2019/9/23 0023
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/23 0023
- * 描述: - */ - /** * 只在当前类中获取注解类 */ diff --git a/utils/src/main/java/com/catchpig/utils/ext/CalendarExt.kt b/utils/src/main/java/com/catchpig/utils/ext/CalendarExt.kt index 1688ee1..aadd78d 100644 --- a/utils/src/main/java/com/catchpig/utils/ext/CalendarExt.kt +++ b/utils/src/main/java/com/catchpig/utils/ext/CalendarExt.kt @@ -2,16 +2,6 @@ package com.catchpig.utils.ext import java.util.* -/** - * 创建时间:2019/9/28 0028
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/28 0028
- * 描述: - */ - - - /** * 字符串转化为时间 */ diff --git a/utils/src/main/java/com/catchpig/utils/ext/DateExt.kt b/utils/src/main/java/com/catchpig/utils/ext/DateExt.kt index c31b9ec..a34bc5e 100644 --- a/utils/src/main/java/com/catchpig/utils/ext/DateExt.kt +++ b/utils/src/main/java/com/catchpig/utils/ext/DateExt.kt @@ -3,14 +3,6 @@ package com.catchpig.utils.ext import java.text.SimpleDateFormat import java.util.* -/** - * 创建时间:2019/9/27 0027
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/9/27 0027
- * 描述: - */ - const val DATE_FORMAT = "yyyy-MM-dd HH:mm:ss" /** * 字符串转化为时间 diff --git a/utils/src/main/java/com/catchpig/utils/ext/EditTextExt.kt b/utils/src/main/java/com/catchpig/utils/ext/EditTextExt.kt index c77521e..2dee6c0 100644 --- a/utils/src/main/java/com/catchpig/utils/ext/EditTextExt.kt +++ b/utils/src/main/java/com/catchpig/utils/ext/EditTextExt.kt @@ -3,14 +3,6 @@ package com.catchpig.utils.ext import android.text.Editable import android.widget.EditText -/** - * 创建时间:2019/8/28 0028
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/28 0028
- * 描述:输入框扩展类 - */ - /** * 给输入框赋值 */ diff --git a/utils/src/main/java/com/catchpig/utils/ext/StringExt.kt b/utils/src/main/java/com/catchpig/utils/ext/StringExt.kt index b76da29..3143cc9 100644 --- a/utils/src/main/java/com/catchpig/utils/ext/StringExt.kt +++ b/utils/src/main/java/com/catchpig/utils/ext/StringExt.kt @@ -1,14 +1,6 @@ package com.catchpig.utils.ext import java.util.regex.Pattern - -/** - * 创建时间:2019/8/31 0031
- * 创建人: 李涛
- * 修改人: 李涛
- * 修改时间: 2019/8/31 0031
- * 描述:字符串工具扩展 - */ /** * 判断不为null */