Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
fix null bug
Browse files Browse the repository at this point in the history
  • Loading branch information
miaoyongjun committed May 24, 2022
1 parent 72573bd commit ab3cafd
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 28 deletions.
11 changes: 0 additions & 11 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-parcelize")
id("com.didi.dokit")
}
setupAppModule {
defaultConfig {
Expand All @@ -23,16 +22,6 @@ setupAppModule {
proguardFiles("proguard-rules.pro")
}
}
dokitExt {
//通用设置
comm {
networkSwitch = true
}

slowMethod {

}
}
}

dependencies {
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/net/mikaelzero/app/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package net.mikaelzero.app
import android.app.Application
import android.content.Context
import androidx.multidex.MultiDex
import com.didichuxing.doraemonkit.DoKit


class App : Application() {
Expand All @@ -15,6 +14,5 @@ class App : Application() {

override fun onCreate() {
super.onCreate()
DoKit.Builder(this).build()
}
}
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ buildscript {
classpath(rootProject.extra["androidPlugin"].toString())
classpath(rootProject.extra["kotlinPlugin"].toString())
classpath(rootProject.extra["mavenPublishPlugin"].toString())
classpath("io.github.didi.dokit:dokitx-plugin:3.5.0.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21")
}
}
Expand Down
14 changes: 1 addition & 13 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,4 @@ targetSdk=30
compileSdk=30
# Maven
GROUP=com.github.mikaelzero
VERSION_NAME=1.8.3
DOKIT_PLUGIN_SWITCH=true
#// DOKIT读取三方库会和booster冲突 如果你的项目中也集成了booster 建议将开关改成false
DOKIT_THIRD_LIB_SWITCH=true
#// 插件日志
DOKIT_LOG_SWITCH=true
#// dokit 慢函数开关
DOKIT_METHOD_SWITCH=true
#// dokit 函数调用栈层级
DOKIT_METHOD_STACK_LEVEL=4
#// 0:默认模式 打印函数调用栈 需添加指定入口 默认为application onCreate 和attachBaseContext
#// 1:普通模式 运行时打印某个函数的耗时 全局业务代码函数插入
DOKIT_METHOD_STRATEGY=0
VERSION_NAME=1.8.3
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ImageMojitoFragment : Fragment(), IMojitoFragment, OnMojitoViewCallback {
}
})
binding.loadingLayout.setOnClickListener {
binding.mojitoView.backToMin()
backToMin()
ImageMojitoActivity.onMojitoListener?.onClick(view, 0f, 0f, fragmentConfig.position)
}
contentLoader?.onLongTapCallback(object : OnLongTapCallback {
Expand Down

0 comments on commit ab3cafd

Please sign in to comment.