SkillAgentSearch skills...

TimerInRecyclerView

Handling multiple Countdown timers in Recyclerview

Install / Use

/learn @Manikkumar1988/TimerInRecyclerView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TimerInRecyclerView

Handling multiple Countdown timers in Recyclerview

BuddyBuild

Inspired from various SO questions,

[Recyclerview with multiple countdown timers causes flickering] (https://stackoverflow.com/questions/35860780/recyclerview-with-multiple-countdown-timers-causes-flickering)

[Multiple count down timers in RecyclerView flickering when scrolled] (https://stackoverflow.com/questions/38890863/multiple-count-down-timers-in-recyclerview-flickering-when-scrolled)

[How to handle multiple countdown timers in RecyclerView?] (https://stackoverflow.com/questions/32257586/how-to-handle-multiple-countdown-timers-in-recyclerview)

and [Handling countdown timers in recyclerview - android] (https://stackoverflow.com/questions/38241539/handling-countdown-timers-in-recyclerview-android)

Screenshots

<img src="art/device-2017-09-05-062715.png" alt="phone image" width="200px" /> <img src="art/device-2017-09-05-062727.png" alt="phone image" width="200px" />

App Performance

<img src="art/Untitled.gif" alt="memory monitor" width="700px" />

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.

View on GitHub
GitHub Stars30
CategoryDevelopment
Updated3y ago
Forks9

Languages

Java

Security Score

65/100

Audited on Jul 5, 2022

No findings