Fix contacts

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-01-10 00:22:13 +01:00
parent 4f7fcd3912
commit 8e652fdb1c
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0

View File

@ -265,27 +265,20 @@ class UserItem(
adapter: FlexibleAdapter<*> adapter: FlexibleAdapter<*>
) : FlexibleViewHolder(view, adapter) { ) : FlexibleViewHolder(view, adapter) {
@JvmField
@BindView(R.id.name_text)
var contactDisplayName: EmojiTextView? = null var contactDisplayName: EmojiTextView? = null
@JvmField
@BindView(R.id.avatarImageView)
var avatarImageView: ImageView? = null var avatarImageView: ImageView? = null
@JvmField
@BindView(R.id.secondary_text)
var contactMentionId: EmojiTextView? = null var contactMentionId: EmojiTextView? = null
@JvmField
@BindView(R.id.voiceOrSimpleCallImageView)
var voiceOrSimpleCallImageView: ImageView? = null var voiceOrSimpleCallImageView: ImageView? = null
@JvmField
@BindView(R.id.videoCallImageView)
var videoCallImageView: ImageView? = null var videoCallImageView: ImageView? = null
@JvmField
@BindView(R.id.checkedImageView)
var checkedImageView: ImageView? = null var checkedImageView: ImageView? = null
init { init {
ButterKnife.bind(this, view) contactDisplayName = view.findViewById(R.id.name_text)
avatarImageView = view.findViewById(R.id.avatarImageView)
contactMentionId = view.findViewById(R.id.secondary_text)
voiceOrSimpleCallImageView = view.findViewById(R.id.voiceOrSimpleCallImageView)
videoCallImageView = view.findViewById(R.id.videoCallImageView)
checkedImageView = view.findViewById(R.id.checkedImageView)
} }
} }
} }