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...
Markdown supported · ⌘↵ to post
No responses yet.