Obsolete
Status Update
Comments
ma...@google.com <ma...@google.com>
po...@google.com <po...@google.com>
ma...@google.com <ma...@google.com> #2
This is probably happening because there are multiple instances of DataStore active. You should consider managing the DataStore as a singleton. See the attached bug for more info.
Description
Jetpack Compose release version:
1.0.0-alpha04
Currently you need to set
singleLineSecondaryText
tofalse
to get padding when using a two line secondary text.Although this technically works it doesn't work very well as it's not always easy to know if the secondary text will fit on a single line or not (landscape vs portrait for example).
It would be nice if this was handled automatically by
ListItem
for you.