aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefItemCore.kt5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefItemCore.kt b/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefItemCore.kt
index c73ea43..2d3c714 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefItemCore.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefItemCore.kt
@@ -10,7 +10,6 @@ import android.view.ViewGroup
import android.widget.ImageView
import android.widget.LinearLayout
import android.widget.TextView
-import butterknife.ButterKnife
import ca.allanwang.kau.R
import ca.allanwang.kau.kpref.CoreAttributeContract
import ca.allanwang.kau.utils.*
@@ -95,10 +94,6 @@ abstract class KPrefItemCore(val core: CoreContract) : AbstractItem<KPrefItemCor
val innerContent: View?
get() = itemView.findViewById(R.id.kau_pref_inner_content)
- init {
- ButterKnife.bind(v)
- }
-
inline fun <reified T : View> bindInnerView(@LayoutRes id: Int): T {
if (innerFrame == null) throw IllegalStateException("Cannot bind inner view when innerFrame does not exist")
if (innerContent !is T) {