I have a Recyclerview , and I need to display a countdown on every row.
Recyclerview
Here is a similar question coutndown timers in listview It has a good solution ,
Add a CountDownTimer member in the ViewHolder. In getView() set and start the counter, and don't forget to cancel any existing one in the same instance of ViewHolder. In onTick() you need to update the value on the display, not start the counter.
CountDownTimer
ViewHolder
getView()
onTick()