aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-12 16:51:27 -0700
committerAllan Wang <me@allanwang.ca>2017-06-12 16:51:27 -0700
commita17ae247c496d2ec8038f36428812f3c2e410d87 (patch)
tree310e5a4d49a08dd8dcf876cd8768ce0053ba2df0 /app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt
parent605a08c2e2e8634263d7626cf7471310add3acb2 (diff)
downloadfrost-a17ae247c496d2ec8038f36428812f3c2e410d87.tar.gz
frost-a17ae247c496d2ec8038f36428812f3c2e410d87.tar.bz2
frost-a17ae247c496d2ec8038f36428812f3c2e410d87.zip
Add kau and web scrolling
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt
index 6c5d5b6c..8cb189e7 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt
@@ -5,7 +5,8 @@ import android.support.v7.widget.AppCompatTextView
import android.support.v7.widget.RecyclerView
import android.view.View
import android.widget.ImageView
-import butterknife.ButterKnife
+import ca.allanwang.kau.utils.bindView
+import ca.allanwang.kau.utils.toDrawable
import com.bumptech.glide.Glide
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.engine.GlideException
@@ -18,8 +19,6 @@ import com.mikepenz.google_material_typeface_library.GoogleMaterial
import com.pitchedapps.frost.R
import com.pitchedapps.frost.dbflow.CookieModel
import com.pitchedapps.frost.facebook.PROFILE_PICTURE_URL
-import com.pitchedapps.frost.utils.bindView
-import com.pitchedapps.frost.utils.toDrawable
/**
* Created by Allan Wang on 2017-06-05.
@@ -70,9 +69,5 @@ class AccountItem(val cookie: CookieModel?) : AbstractItem<AccountItem, AccountI
class ViewHolder(val v: View) : RecyclerView.ViewHolder(v) {
val image: ImageView by bindView(R.id.account_image)
val text: AppCompatTextView by bindView(R.id.account_text)
-
- init {
- ButterKnife.bind(v)
- }
}
} \ No newline at end of file