Skip to content

learnpainless/RecyclerViewCountdownTimer

Repository files navigation

RecyclerViewCountdownTimer

Handling multiple Countdown timers in Recyclerview

Inspired from various StackOverflow questions,

Recyclerview with multiple countdown timers causes flickering

Multiple count down timers in RecyclerView flickering when scrolled

How to handle multiple countdown timers in RecyclerView?

and Handling countdown timers in recyclerview - android

What does this app do?

The aim of the project is to showcase how to handle multiple timer inside the recyclerview and how to clean up the resource.

How does app do?

Instead of CountdownTimer/TimerTask app performs count down operation using Runnable and handler.

Reasoning

Motivation of the application is to have individual timer for each row, however recycle the timer as same logic as view recycling, so that there won't be peak memory usage and leading to impact on performance.

Also read explained tutorial below

About

Handling multiple Countdown timers in Recyclerview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages