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

resources: Make `Text` compatible with compose

Open osipxd opened this issue 3 years ago • 1 comments

Text keyword used for composable function, so we should rename this class to make it usable from Compose. Also Text.get should receive Resources instead of Context as a parameter. Maybe, we should also provide an extension to easily get Text value in Compose.

osipxd avatar Jan 28 '22 08:01 osipxd

Text should also be annotated as @Immutable

osipxd avatar Mar 02 '23 11:03 osipxd