ground-android icon indicating copy to clipboard operation
ground-android copied to clipboard

[Code health] Move creation of string labels for responses from model to view

Open gino-m opened this issue 2 years ago • 1 comments
trafficstars

As an early hack, we returned the string representation of responses by extending getDetailsText() in the base TaskData. To allow for i18n and proper SoC, these UI representations should be produce be ViewModels or related helpers, not in the model itself.

gino-m avatar Jul 05 '23 09:07 gino-m

~i18n is internationalization but what does SoC mean?~ Aha! Separation of Concerns!

sufyanAbbasi avatar Mar 22 '24 22:03 sufyanAbbasi