android10 / android10/Android-CleanArchitecture
Organize by feature - View Injection
- 主要語言
- Java
- 星號
- 15.5k
- 分支
- 3.3k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
In your blog, you mentioned that organizing the code via feature is better and I totally agree. In my case, I've split my app into different modules and each module is actually a feature. I assume that this is how you guys also work at SoundCloud so as to allow individual teams working on a feature to work independently.
On splitting the code by module, I'm not able to use Butterknife's `@Bind` annotations since Android doesn't mark `R` constants in module as `static final`. Hence I get a compile time for the following
`@Bind (R.id.auth_et_password) EditText passwordTxt;`
Error received : "Error:(44, 15) error: element value must be a constant expression"
So how do you guys inject views? Do you have a custom framework or use AndroidAnnotations framework or something else or you don't split by modules?
DISCLAIMER: I'm a Android noob.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。