项目作者: opatry

项目描述 :
Week #2 - Countdown timer
高级语言: Kotlin
项目地址: git://github.com/opatry/android-dev-challenge-compose-week2.git
创建时间: 2021-03-03T19:08:42Z
项目社区:https://github.com/opatry/android-dev-challenge-compose-week2

开源协议:Apache License 2.0

下载


Countdown timer - Week #2

Workflow result

:scroll: Description

This app lists timers to launch at will for different needs.
Each unit has its own indicator (for hours, minutes and seconds).

:bulb: Motivation and Context

The main idea was to bring a really visual way to represent time, using distinct progress for each units with its own nested color circles.
It was tough to deal with time arithmetic and smooth animation each seconds.

I’m kind of satisfied by final visual even if not perfect.
I learn a lot with this challenge #2 (Animation, backdrop (incl. conceal/reveal using rememberCoroutineScope), time arithmetic, canvas composable, custom font, LazyColumn.stickyHeader).

:camera_flash: Screenshots

🌞 Light Mode

Active timer Timers

🌚 Dark Mode

Active timer Timers

License

  1. Copyright 2020 The Android Open Source Project
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. https://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License.