Skip to content

Commit

Permalink
Make single badge appear selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
cody-signal committed Aug 22, 2022
1 parent dc503e3 commit a2b73bf
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -36,6 +36,10 @@ object GiftRowItem {
private val taglineView = itemView.findViewById<TextView>(R.id.tagline)
private val priceView = itemView.findViewById<TextView>(R.id.price)

init {
itemView.isSelected = true
}

override fun bind(model: Model) {
checkView.visible = false
badgeView.setBadge(model.giftBadge)
Expand Down

0 comments on commit a2b73bf

Please sign in to comment.