daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest May 16th, 2018 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class NumberViewHolder(parentView: View) : RecyclerView.ViewHolder(
  2.     LayoutInflater.from(parentView.context).inflate(R.layout.card_item, null, false)) {
  3.  
  4.     private val numberView = itemView.findViewById<TextView>(R.id.number)
  5.  
  6.     fun bindTo(position: Int) {
  7.         numberView.text = "# $position"
  8.     }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top