anugotta / Fliptimerview
Licence: mit
FlipTimerView library for Android
Stars: ✭ 275
Programming Languages
kotlin
9241 projects
Projects that are alternatives of or similar to Fliptimerview
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
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
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
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
FlipTimerView
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?
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].