|
|
|
|
|
by m_fayer
4057 days ago
|
|
After a quick skim this seems great, but just one piece of a much bigger puzzle. Android activities, regardless of whether the view is constructed declaratively or in code, seem to always become an untestable mess that does way too much. At least, that's what happens if activities are used as intended. IMO, the bare minimum necessary to fix this is some more elegant alternative to AXML that, crucially, has some kind of declarative databinding support. Roll that into Anko and we're on our way to taming the activity. |
|
https://github.com/zserge/anvil
http://zserge.com/blog/anvil-2.html
Kotlin is supported as well (http://zserge.com/blog/anvil-kotlin.html)