Skip to content

Repository files navigation

CounterApp Icon

CounterApp

A minimal Android app for organizing and tracking counts across categories with automatic time tracking.


Features

  • Categories — Organize counters into named categories with summary stats
  • Counters — Track tallies with +1, +5, +10 increment buttons
  • Automatic Time Tracking — Timer starts when you open a counter, pauses when you leave
  • Category Analytics — Total count, total time, average count, and most active counter
  • Edit Dialog — Manually override count and time values
  • Offline & Private — All data stored locally with Room, zero permissions required
  • Material You — Dynamic color theming on Android 12+

Screens

HomeCategory DetailCounter Detail
Category list with statsCounters + analytics bannerLarge count, live timer, increment buttons

Tech Stack

ComponentTechnology
LanguageKotlin
UIJetpack Compose (Material 3)
ArchitectureMVVM + ViewModels + StateFlow
DatabaseRoom (SQLite)
DIHilt
NavigationJetpack Navigation Compose
AsyncKotlin Coroutines + Flow
Min SDK28 (Android 9)
Target SDK35

Getting Started

  1. Clone the repository
    git clone git@github.com:pinnaclecode-solutions/CounterApp.git
  2. Open in Android Studio (Meerkat or later recommended)
  3. Sync Gradle and run on a device or emulator

Project Structure

com.example.counterapp/
├── data/
│ ├── local/ — Room entities, DAOs, database
│ └── repository/ — CounterAppRepository
├── di/ — Hilt modules
├── ui/
│ ├── home/ — Home screen (category list)
│ ├── category/ — Category detail screen
│ ├── counter/ — Counter detail + edit dialog
│ ├── components/ — Shared composables
│ └── theme/ — Material 3 theme
├── navigation/ — Nav graph and route definitions
├── util/ — TimeFormatter
├── CounterApp.kt — Application class
└── MainActivity.kt — Single activity entry point

License

This project is proprietary. All rights reserved.

About

A simple counter application. Can be used to keep track of various counts manually.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages