An open API service indexing awesome lists of open source software.

https://github.com/abdo-essam/stopwatchapp


https://github.com/abdo-essam/stopwatchapp

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Stopwatch App ⏱️

A simple stopwatch application built using **Jetpack Compose** in **Kotlin**. The app tracks time in milliseconds, allowing users to start, pause, resume, and reset the stopwatch, and displays the formatted time on the screen.

## Features
- **Start/Resume Functionality**:
- Start the stopwatch, and if paused, the button toggles to "Resume" to continue tracking time.
- **Pause and Reset**:
- Pause the stopwatch at any moment and reset it back to `00:00:000`.
- **Live Time Display**:
- Time is formatted and updated in real-time while the stopwatch is running.
- **Lifecycle Awareness**:
- Uses a `ViewModel` to handle stopwatch state, ensuring state persistence across configuration changes like screen rotations.
- **Material 3 Design**:
- The UI is styled with Material Design 3 for a modern and responsive look.

## Tech Stack
- **Kotlin**
- **Jetpack Compose**
- **Coroutines** for managing background tasks
- **ViewModel** for state management

## Screenshots





## How to Run
To run the app locally, follow these steps:

1. Clone the repository:
```bash
git clone https://github.com/your-username/stopwatch-app.git