aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-19 20:19:37 -0700
committerAllan Wang <me@allanwang.ca>2017-06-19 20:19:37 -0700
commit6c6740f497c944a02c847dee2c805ebc1b1b6913 (patch)
tree5450668f99fa5e620acc5e931e6353e6b0214a5a
parent782d458a58d9487fd060a6b728400695c7380a65 (diff)
downloadkau-6c6740f497c944a02c847dee2c805ebc1b1b6913.tar.gz
kau-6c6740f497c944a02c847dee2c805ebc1b1b6913.tar.bz2
kau-6c6740f497c944a02c847dee2c805ebc1b1b6913.zip
Clear out butterknife
-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) {