Fixed
Status Update
Comments
st...@gmail.com <st...@gmail.com> #2
Fix should be a release of androidx.activity 1.3.0-alpha02 from build ab/7134643
mn...@google.com <mn...@google.com>
di...@google.com <di...@google.com>
am...@google.com <am...@google.com>
am...@google.com <am...@google.com> #3
1.3.0-alpha02
Class 'androidx.activity.compose.ComponentActivityKt' is compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compiler
Apps using Compose alpha12 and specifically artifacts like androidx.compose.ui:ui-test-junit4:1.0.0-alpha12
that internally use setContent
should add the activity-compose:1.3.0-alpha02
dependency to their dependencies
block to ensure that the 1.3.0-alpha01
artifact is not used:
implementation 'androidx.activity:activity-compose:1.3.0-alpha02'
pr...@google.com <pr...@google.com> #4
f
Description
Issue
LoremIpsum
doesn't seem to offer an option, to specify number of words. Sometimes you want to preview how specific composable behaves, when line breaks a single time.LoremIpsum
only offers "a truck load" amount of words.So basically, I would like to be able to preview text with only 20 words, instead of 500 (that's current default word count set in
LoremIpsum
).Example
I want to preview how following text breaks, but I don't want it to expand indefinitely.
Yes, I could limit it by height, but sometimes composables are more complicated than that.
Current workarounds
A. Only take first n characters
B. Manually instantiate LoremIpsum
Potential solutions
Maybe short version of
LoremIpsum
could solve this use case in a simple way? E.g.LoremIpsumShort
?Info