{"id":22635782,"url":"https://github.com/czesctuklap/countdown-timer","last_synced_at":"2026-04-17T01:02:13.844Z","repository":{"id":264504082,"uuid":"893556002","full_name":"czesctuklap/countdown-timer","owner":"czesctuklap","description":"This Android app allows users to set, start, pause, stop, and dynamically adjust a countdown timer. It utilizes a modular architecture with multiple fragments and an object-oriented approach with a dedicated  class for timer logic. Features include time input in minutes and seconds, timer controls, dynamic adjustments and sound notification.","archived":false,"fork":false,"pushed_at":"2024-11-24T19:16:03.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T14:40:02.379Z","etag":null,"topics":["android","countdown-timer","fragments","fragments-layout","oop","timer"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/czesctuklap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-24T18:36:46.000Z","updated_at":"2024-11-24T19:19:40.000Z","dependencies_parsed_at":"2024-11-24T23:48:03.368Z","dependency_job_id":null,"html_url":"https://github.com/czesctuklap/countdown-timer","commit_stats":null,"previous_names":["czesctuklap/countdown-timer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czesctuklap%2Fcountdown-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czesctuklap%2Fcountdown-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czesctuklap%2Fcountdown-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czesctuklap%2Fcountdown-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/czesctuklap","download_url":"https://codeload.github.com/czesctuklap/countdown-timer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140543,"owners_count":20729797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","countdown-timer","fragments","fragments-layout","oop","timer"],"created_at":"2024-12-09T03:14:55.255Z","updated_at":"2026-04-17T01:02:13.792Z","avatar_url":"https://github.com/czesctuklap.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Countdown Timer\n\nA simple Android Timer app in Kotlin, which allows users to set a countdown timer, start/pause/stop it, and adjust the timer dynamically.\n\n### Design Principles and Architecture\n\n- **Fragments**: The app uses multiple fragments (`FragmentForm` for input and `FragmentMain` for displaying and controlling the countdown) to promote a modular design, which allows for better reuse and maintainability.\n- **Object-Oriented Design**: The app follows object-oriented principles like encapsulation, where the `CountdownTimerManager` class encapsulates all the timer-related logic. It also employs separation of concerns by keeping the UI logic separate from the business logic, ensuring the app is modular and easier to extend or maintain.\n\n### Components\n\n- **`MainActivity`**: Initializes the app and displays the `FragmentForm`.\n- **`FragmentForm`**: UI to set timer duration in minutes and seconds.\n- **`FragmentMain`**: Displays the timer and allows controls for starting, pausing, stopping, and adjusting time.\n- **`CountdownTimerManager`**: Handles all the timer logic - start, pause, stop, adjust time.\n\n### Key Features\n\n- **Set Timer**: Input minutes and seconds.\n- **Start/Pause/Stop**: Control the countdown.\n- **Dynamically Adjust Time**: Add or subtract time in predefined increments.\n- **Notifications**: Alarm and toast when time is up.\n\n### Preview\n![image](https://github.com/user-attachments/assets/b9263ee3-d82a-4458-9346-a4f14ac9192a)\n\n![image](https://github.com/user-attachments/assets/48486813-adbe-4ecd-842b-187c142e3fe4)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczesctuklap%2Fcountdown-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fczesctuklap%2Fcountdown-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczesctuklap%2Fcountdown-timer/lists"}