question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sub label / multiline / spannable support

See original GitHub issue

Sometimes it may make sense to show menu entries with sub labels, can you add this as well?

E.g.:

[SECTION]                            "Change state"
[MENU 1]                             - "Mark completed"
[MENU 2]                             - "Mark completed"
[MENU 2 - SUB TEXT]                    "And add a comment"

Alternatively it would also work if we can provide a Spannable as text, then we can do this with it’s help as well. Of course, we would also need to disable the current single line only setting for each menu entry as well.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
MFlisarcommented, Jul 6, 2019

Just checked the code and tested the new version - you moved the viewBoundCallback execution to the end of the bind item and added the CharSequence labels - that’s perfect for me, thanks a lot

0reactions
zawadz88commented, Jul 6, 2019

Released in 4.0.0. Thanks for reporting this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiline `ReplacementSpan` drawing issue - Stack Overflow
We need to draw a drawable together with the text. We can implement a custom ReplacementSpan to draw the background and the text...
Read more >
Multiline UILabel within a Static UITableViewCell on iOS 9
I am trying to make a UILabel within a static UITableViewCell multiline depending on ... but because of how long it is, it...
Read more >
Label - .NET MAUI | Microsoft Learn
NET MAUI) Label displays single-line and multi-line text. Text displayed by a Label can be colored, spaced, and can have text decorations.
Read more >
Spantastic text styling with Spans | Android Developers
To style text in Android, use spans! Change the color of a few characters, make them clickable, scale the size of the text...
Read more >
Multi-Line Padded Text - CSS-Tricks
You also can't simply apply the background and padding to a <span> or an inline element. The left and right padding will only...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found