`getResources()` belongs to `context`, so you shou...
# android
e
getResources()
belongs to
context
, so you should be using this in
Activity
or
Fragment
. And also setting drawable is something to do with the view, which is not suppose to be done in the
viewModel