getAdapterPosition() in ViewHolder constructor returns -1

前端 未结 0 867
甜味超标
甜味超标 2020-12-08 00:32

I have an arraylist of datavalues for a recyclerview of cardviews. I want to get the position of the viewholder in the constructor of viewholder class so that I can add text

相关标签:
回答
  • 消灭零回复
提交回复
热议问题