It would be a bit cleaner if you factor out the `getContext.getResources()` into a variable.