CircularCountdown
Android library to create a circular countdown, fully written in Kotlin
Install / Use
/learn @douglasspgyn/CircularCountdownREADME
Circular Countdown
A custom Progress Bar that looks like a Countdown.
You can see a Sample Project here and learn more on the Wiki.
This lib was based on another project but fully written in Kotlin.

XML
<douglasspgyn.com.github.circularcountdown.CircularCountdown
android:id="@+id/circularCountdown"
android:layout_width="72dp"
android:layout_height="72dp"
app:countdownBackgroundColor="@color/colorAccent"
app:countdownForegroundColor="@color/colorPrimary"
app:countdownTextColor="@color/colorPrimaryDark"
app:countdownTextSize="24sp" />
Circular Countdown
circularCountdown.create(3, 10, CircularCountdown.TYPE_SECOND)
.listener(object : CircularListener{
override fun onTick(progress: Int) {
}
override fun onFinish(newCycle: Boolean, cycleCount: Int) {
}
})
.start()
Circular Cascade Countdown
CircularCascadeCountdown(86405000,
circularCountdownSeconds,
circularCountdownMinutes,
circularCountdownHours,
circularCountdownDays)
.listener(object : CascadeListener {
override fun onFinish() {
}
})
.start()
Add to your project:
You just need to add the Maven Jitpack repository on Project Gradle:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
and the library dependence on Module Gradle:
dependencies {
compile 'com.github.douglasspgyn:CircularCountdown:0.3.0'
}
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
