From 0ec990a6e6b06d134b25c4587d197f09fb82f3f8 Mon Sep 17 00:00:00 2001 From: Jieyi Date: Sat, 11 Apr 2020 22:48:22 +0900 Subject: [PATCH] refactor(*): remove reundant import --- kotlinknifer/src/main/java/com/devrapid/kotlinknifer/View.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kotlinknifer/src/main/java/com/devrapid/kotlinknifer/View.kt b/kotlinknifer/src/main/java/com/devrapid/kotlinknifer/View.kt index acebeee..b224455 100644 --- a/kotlinknifer/src/main/java/com/devrapid/kotlinknifer/View.kt +++ b/kotlinknifer/src/main/java/com/devrapid/kotlinknifer/View.kt @@ -7,9 +7,7 @@ import android.content.Context import android.graphics.Rect import android.os.Build import android.view.View -import android.view.View.GONE -import android.view.View.INVISIBLE -import android.view.View.VISIBLE +import android.view.View.* import android.view.ViewTreeObserver import android.view.Window import android.view.WindowManager @@ -17,7 +15,6 @@ import androidx.annotation.ColorInt import androidx.annotation.ColorRes import androidx.appcompat.app.AlertDialog import androidx.core.content.ContextCompat -import com.example.kotlinknifer.R inline fun View.resizeView(width: Int? = null, height: Int? = null) { val newLayoutParams = layoutParams?.apply {