Don't let ViewModels know about Android framework classes. (A general rule of thumb is to make sure there are not(android.) imports in your ViewModels(with an exception like android.arch.) Keep the logic in activities and Fragments to a minimum. Av...
Android Developer
A self-taught/solo programmer and building apps since 2016 in android using java/kotlin.
Markdown supported · ⌘↵ to post
No responses yet.