kinnerapriyap / do-you-wanna-build-a-countdown-timer

#AndroidDevChallenge #Week2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do you wanna build a countdown timer?

Workflow result

📜 Description

The aim is to be as frustrating a countdown timer as possible :)

💡 Motivation and Context

I made the-banka-toggle a few weeks ago for drag gesture animation. Since then, I've been wanting to remake it in Jetpack compose so I decided to embed it into the Week 2 countdown timer and here it is!

Instructions for the countdown timer:

  • Drag the stretchable square to set time
  • The countdown starts when you lift your finger, so drag carefully :)
  • You can still drag after your countdown starts, but be careful!
  • If you over-drag and the square unsticks from the end, your countdown cancels, sorry :(
  • You can also use the stop button to cancel, but why would you when you can just drag to unstick the square?
  • If you want to countdown from a number larger than the middle of the screen, you're out of luck!

📸 Screenshots

License

Copyright 2020 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

#AndroidDevChallenge #Week2

License:Apache License 2.0


Languages

Language:Kotlin 100.0%