Tag: android development


Tips – clean code & less boilerplate

A few tips on how to keep the code clean and testable 1. Don't want to have Android dependencies in viewModel, but still want it to handle clicks? Create an onClick BindingAdapter that does not pass View, or use one from SecretSauce library. 2. Do you want to auto refresh your data in view by [...]