Skip to content

Commit

Permalink
refactor(*): remove reundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
pokk committed Apr 11, 2020
1 parent ab18545 commit 0ec990a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kotlinknifer/src/main/java/com/devrapid/kotlinknifer/View.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ 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
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 {
Expand Down

0 comments on commit 0ec990a

Please sign in to comment.