How buddykang/kangapp works
KangApp is an Android Compose app whose current product feature is on-demand laundry-machine status lookup. The user opens the Laundry screen and taps query; the UI marks machines as querying, calls the repository, then displays returned statuses. The repository checks five configured machines concurrently using background WebViews, reads the rendered page and final URL, and classifies the result as available, busy, unavailable, or unknown. The README documents a left-side navigation menu and planned future modules; those future tools have no implementation shown. UI source was sampled only partially, so uncertain internal UI wiring is omitted.
Main entry points: LaundryRepository.kt Laundry repository · KangAppScreen.kt Laundry screen · MainActivity.kt Activity entry · Theme.kt Compose theme
Components 10
App and UI
- Activity entry
app/src/main/java/com/kang/kangapp/MainActivity.kt - Compose theme
app/src/main/java/com/kang/kangapp/ui/theme/Theme.kt - App navigation
app/src/main/java/com/kang/kangapp/ui/KangAppScreen.kt - Laundry screen
app/src/main/java/com/kang/kangapp/ui/KangAppScreen.kt
Laundry lookup
- Laundry repository
app/src/main/java/com/kang/kangapp/data/LaundryRepository.kt - Machine catalog
app/src/main/java/com/kang/kangapp/data/LaundryRepository.kt - Status classifier
app/src/main/java/com/kang/kangapp/data/LaundryRepository.kt
Domain models
- Machine and status types
app/src/main/java/com/kang/kangapp/model/LaundryModels.kt
Other components
- Phone user
- Qiekj H5 service
Connections 13
- Phone user → Activity entry: opens app
- Activity entry → Compose theme: sets content
- Compose theme → App navigation: renders
- Phone user → Laundry screen: starts or refreshes
- App navigation → Laundry screen: shows
- Laundry screen → Laundry repository: checks machines
- Laundry repository → Machine catalog: reads list
- Laundry repository → Qiekj H5 service: loads pages
- Qiekj H5 service → Laundry repository: serves page content
- Laundry repository → Status classifier: classifies page
- Status classifier → Machine and status types: produces status
- Laundry repository → Laundry screen: returns results
- Laundry screen → Machine and status types: displays statuses