All Projects → anugotta → Fliptimerview

anugotta / Fliptimerview

Licence: mit
FlipTimerView library for Android

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Fliptimerview

async-timer
Timer facilities for Rust's async story
Stars: ✭ 37 (-86.55%)
Mutual labels:  timer
cron-schedule
A zero-dependency cron parser and scheduler for Node.js, Deno and the browser.
Stars: ✭ 28 (-89.82%)
Mutual labels:  timer
Simple Clock
Combination of a beautiful clock with widget, alarm, stopwatch & timer, no ads
Stars: ✭ 257 (-6.55%)
Mutual labels:  timer
textmatcher
A simple text watcher that matches specific targets like mention or hashtag in a string by defining rules
Stars: ✭ 67 (-75.64%)
Mutual labels:  textview
ordne
A Simple Pomodoro Timer for Elementary OS
Stars: ✭ 13 (-95.27%)
Mutual labels:  timer
TamoStudy
TamoStudy is a productivity work and study timer that implements a fun, virtual pet to help you stay driven to focus.
Stars: ✭ 35 (-87.27%)
Mutual labels:  timer
countdown-vuejs
A Countdown Timer component for Vue.js
Stars: ✭ 58 (-78.91%)
Mutual labels:  timer
Snaptimer
Implementation of Snapchat's stories timer.
Stars: ✭ 273 (-0.73%)
Mutual labels:  timer
CustomFontView
Custom View classes for TextView, EditText & Buttons - to set custom fonts
Stars: ✭ 26 (-90.55%)
Mutual labels:  textview
TTInputVisibilityController
Lightweight controller to keep your inputs visible when the keyboard is presented.
Stars: ✭ 21 (-92.36%)
Mutual labels:  textview
timer.cljs
Scheduling async operations in Clojurescript
Stars: ✭ 22 (-92%)
Mutual labels:  timer
qqTimer
Mirror of Michael Gottlieb's qqTimer.
Stars: ✭ 16 (-94.18%)
Mutual labels:  timer
new-clock
The best clock app there is
Stars: ✭ 24 (-91.27%)
Mutual labels:  timer
cxxtimer
A timer for modern C++
Stars: ✭ 22 (-92%)
Mutual labels:  timer
Gradienttextview
一个颜色逐渐改变的textview,类似歌词效果
Stars: ✭ 267 (-2.91%)
Mutual labels:  textview
waves-timer-animation
A relaxing waves animation built with Jetpack Compose
Stars: ✭ 121 (-56%)
Mutual labels:  timer
Web-Time-Tracker
Plugin named Timetracker is a time counter that works in both increase and decrease directions.
Stars: ✭ 21 (-92.36%)
Mutual labels:  timer
Promise Timer
A trivial implementation of timeouts for Promises, built on top of ReactPHP.
Stars: ✭ 270 (-1.82%)
Mutual labels:  timer
Android Expandabletextview
An expandable TextView for Android applications
Stars: ✭ 268 (-2.55%)
Mutual labels:  textview
OnlyT
Meeting Timer
Stars: ✭ 80 (-70.91%)
Mutual labels:  timer

FlipTimerView

License API Android Arsenal

Preview

FlipTimerView library for Android

Getting started

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.anugotta:FlipTimerView:v1.5'
}

Usage

Add the CountDownClock in your layout

  <com.asp.fliptimerviewlibrary.CountDownClock
            android:id="@+id/timerProgramCountdown"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:clipChildren="false"
            android:clipToPadding="false"
            flipTimer:almostFinishedCallbackTimeInSeconds="5"
            flipTimer:animationDuration="850"
            flipTimer:countdownTickInterval="1000"
            flipTimer:digitBottomDrawable="@drawable/background_bottom"
            flipTimer:digitDividerColor="@color/transparent"
            flipTimer:digitPadding="2dp"
            flipTimer:digitTextColor="@color/black"
            flipTimer:digitTextSize="24sp"
            flipTimer:digitTopDrawable="@drawable/background_top"
            flipTimer:digitWidth="28dp"
            flipTimer:halfDigitHeight="22dp"
            flipTimer:resetSymbol="8"
            flipTimer:splitterPadding="0dp"
    />

API

 timerProgramCountdown.startCountDown(99999999)
        timerProgramCountdown.setCountdownListener(object : CountDownClock.CountdownCallBack {
            override fun countdownAboutToFinish() {
                //TODO Add your code here
            }

            override fun countdownFinished() {
                Toast.makeText(this@MainActivity, "Finished", Toast.LENGTH_SHORT).show()
                timerProgramCountdown.resetCountdownTimer()
            }
        })

Designed by:

GadgetCheck: https://github.com/GadgetCheck

Contribution

If you are interested to contribute, feel free to send pull requests (to development branch) or issues.

Note: All your pull requests should be written in kotlin

Questions?

Hit me on twitter Twitter

License

MIT License

Copyright (c) 2019 Anu S Pillai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].