android / sunflower

A gardening app illustrating Android development best practices with migrating a View-based app to Jetpack Compose.
https://d.android.com/jetpack
Apache License 2.0
17.65k stars 4.7k forks source link

Can I implement Clean architecture? #373

Closed herald25 closed 5 years ago

herald25 commented 5 years ago

Can I implement Clean architecture with this repository? I want to use new technology for my future project since I started to learn more related in Android. I also want to use reacting programming with this? thanks in advance.

XinyueZ commented 5 years ago

The purpose of this project is not about architecture .

nic0lette commented 5 years ago

As @XinyueZ noted, this sample is about showing an example of how to best utilize Android Architecture Components in an app, and how one may architect it. There are many things this sample doesn't do (such as dependency injection (DI) with Dagger2).

You are free to fork this repo and build out an example of "clean architecture" with it, but, unfortunately, I don't think we'd want to take the project in that direction at the moment.