moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

Change args type of ResourceFormattedStringDesc from List<Any> to List<String> to be able to implement Parcelable and also implement Parcelable on StringDesc

Open Pschsch opened this issue 2 years ago • 1 comments
trafficstars

We have cases where we need to pass StringDesc as argument to Android's Fragments. Without Parcelable implementation it's not possible. It seems to me, than we can just use additional toString() call on arguments passing to ResourceFormattedStringDesc. But it can break existing users cases who uses numbers to format strings

Pschsch avatar Jul 07 '23 08:07 Pschsch

hi! StringDesc is interface, so you can create own ResourceFormattedStringDesc implementation of StringDesc that will be Parcelable.

Alex009 avatar Jul 15 '23 15:07 Alex009