aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-11-18 14:45:22 -0800
committerGitHub <noreply@github.com>2021-11-18 14:45:22 -0800
commit4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d (patch)
tree859d3dc7021d31f807c5ad90ddea31f711fa793d /core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt
parente2ac8e3e82b842ea05c8c7a2c92d566553d8ea91 (diff)
parenta9b8b69ab5e053e9106a98564e3a4047628387d6 (diff)
downloadkau-4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d.tar.gz
kau-4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d.tar.bz2
kau-4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d.zip
Merge pull request #270 from AllanWang/versions6.4.0
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt
index 7c3e3cb..fac9421 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/utils/Kotterknife.kt
@@ -34,14 +34,14 @@ import android.app.Dialog
import android.app.DialogFragment
import android.app.Fragment
import android.view.View
-import androidx.fragment.app.DialogFragment as SupportDialogFragment
-import androidx.fragment.app.Fragment as SupportFragment
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import java.util.Collections
import java.util.WeakHashMap
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty
+import androidx.fragment.app.DialogFragment as SupportDialogFragment
+import androidx.fragment.app.Fragment as SupportFragment
fun <V : View> View.bindView(id: Int): ReadOnlyProperty<View, V> = required(id, viewFinder)