Thread
#android-architecture
    u

    ursus

    3 years ago
    R.string is an int, it doesnt change based on localization
    a

    Al Warren

    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.