R.string is an int, it doesnt change based on localization
3 years ago
Since we're talking about architecture, R.string is in the UI layer. ViewModel is an adapter which is in a different layer. It should not depend on the UI. The UI should depend on it. ViewModel shouldn't care who makes requests. Nor should it know anything about the requestor.