https://kotlinlang.org logo
u

ursus

07/08/2019, 8:39 PM
R.string is an int, it doesnt change based on localization
a

Al Warren

07/08/2019, 10:25 PM
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.
5 Views