ydhnwb/android-clean-architecture ? reverse-engineered prompt
Reverse engineered prompt
Build me an Android app example that shows clean architecture in a simple, practical way.
I want it split into presentation, domain, and data layers, with a clear flow from UI to view model to use case to repository. The app should have a basic login style flow and a couple of screens so I can see how data moves through the layers. Use Kotlin, Kotlin Flow, Retrofit, and Hilt for dependency injection, and keep the code easy to read so it feels like a real example project I could learn from.
Please wire it up so the app can load data from a backend, handle loading and error states, and follow clean separation of concerns. If you need to check current docs for any Android or library details, go ahead and look them up online. I mainly want a working reference app that demonstrates the pattern clearly and is easy to extend later.
Are you gonna build this?
make sure you review the code using coderabbit