No description
  • Kotlin 91.7%
  • DM 8.3%
Find a file
firebadnofire bfc57d6c91
All checks were successful
Release APK / release (push) Successful in 3m24s
commit
2026-04-19 03:19:07 -04:00
.forgejo commit 2026-04-17 14:07:54 -04:00
.idea commit 2026-04-19 03:15:32 -04:00
.kotlin/errors commit 2026-04-15 14:53:11 -04:00
app commit 2026-04-19 03:19:07 -04:00
gradle commit 2026-04-15 14:53:11 -04:00
.codex commit 2026-04-15 00:02:37 -04:00
.gitignore commit 2026-01-09 21:36:11 -05:00
AGENTS.md commit 2026-04-15 00:02:37 -04:00
appicon.png commit 2026-04-15 14:53:11 -04:00
appicon_new.png commit 2026-04-15 14:53:11 -04:00
build.gradle.kts commit 2026-01-09 21:36:11 -05:00
gradle.properties commit 2026-01-09 21:36:11 -05:00
gradlew commit 2026-01-09 21:36:11 -05:00
gradlew.bat commit 2026-01-09 21:36:11 -05:00
LICENSE commit 2026-01-09 21:36:11 -05:00
README.md commit 2026-04-14 13:31:50 -04:00
settings.gradle.kts commit 2026-01-09 21:36:11 -05:00

Milestones

Milestones is a simple Android app for tracking the days since or until meaningful events such as habits, anniversaries, or personal goals.

Features

  • Add milestones with a name and start date.
  • View the number of days since each milestone, or days remaining until a future date.
  • Reset a milestone to start counting from today.
  • Remove milestones with confirmation.
  • Import and export milestones as JSON.
  • Optional Material You dynamic color theming.
  • Persist milestone data locally with SharedPreferences.

Tech Stack

  • Kotlin
  • AndroidX
  • Material Components
  • RecyclerView
  • ViewBinding
  • JSON serialization stored in SharedPreferences

Getting Started

Prerequisites

  • Android Studio (latest stable recommended)
  • Android SDK 24 or newer
  • JDK 11

The app currently builds with compileSdk and targetSdk set to 36.

Run the App

  1. Open the project in Android Studio.
  2. Let Gradle sync complete.
  3. Select an emulator or connected device.
  4. Run the app configuration.

Build from the Command Line

./gradlew assembleDebug

Run Tests

./gradlew test

Project Structure

  • app/src/main/java/org/archuser/milestones/MainActivity.kt: Main screen, navigation drawer actions, import/export, and milestone creation flow.
  • app/src/main/java/org/archuser/milestones/MilestoneAdapter.kt: RecyclerView adapter for milestone rows.
  • app/src/main/java/org/archuser/milestones/Milestone.kt: Milestone model.
  • app/src/main/java/org/archuser/milestones/MilestoneStorage.kt: JSON encoding and decoding for persisted milestone data.
  • app/src/main/res/layout/: Layout resources for the activity, drawer content, and milestone rows.
  • appicon.png: Source image copied into generated Android drawable resources during build.

License

See LICENSE.