library to manage dates in Android? As soon as a Date is used in the composables, the Preview fires an error because the timezone data is not registered. Is there anyway to initialize this kind of libraries in Preview mode?
j
joney
05/23/2021, 6:09 PM
I don't know, but why not abstract away threeten dependencies (like state hoisting), use
Strings
and
Longs
as Parameters for your composable primitives instead?
n
Nacho Ruiz Martin
05/23/2021, 6:13 PM
And who do you reckon should do the parsing? The
ViewModel
? I feel like that would limit the power of the view model and put some view logic in the