What I Actually Learned About Android Architecture
There's a lot of advice about Android architecture online. Most of it is technically correct but practically misleading. Here's what I've found after shipping real apps.
Clean Architecture Isn't Always Clean
The standard Clean Architecture setup with use cases, repositories, and data sources creates a lot of files. For a small app, that's overhead. For a large app, it pays off. The trick is knowing where your app sits on that spectrum.
State Management Matters More Than Structure
I've spent more time debugging state issues than architecture issues. Getting your state management right - whether it's StateFlow, LiveData, or something else - has more impact on app quality than which architectural pattern you choose.
Ship First, Refactor Later
My best apps started simple and got more structured over time. My worst attempts started with perfect architecture and never shipped.