Builder
Builder for creating OudsAnnotatedAlertMessageBulletListLabel with strong text and link formatting.
Supports both strong text and link annotations through addStrong, pushStrong, addLink, and pushLink methods, or more conveniently through the withStrong and withLink DSL helpers.
Parameters
Initial capacity for the underlying string builder. Defaults to 16.
Constructors
Functions
Set a OudsLinkAnnotation.Clickable for the given range defined by start and end.
Set a OudsLinkAnnotation.Url for the given range defined by start and end.
Appends an annotated string to this builder, preserving its formatting.
Appends a portion of an annotated string to this builder, preserving its formatting.
Ends the style or annotation that was added via a push operation before.
Ends the styles or annotation up to and including the StrongBuilder.pushStrong or LinkBuilder.pushLink that returned the given index.
Attach the given OudsLinkAnnotation to any appended text until a corresponding pop is called.
Applies strong (bold/emphasized) style to any appended text until a corresponding pop is called.
Constructs an OudsAnnotatedString based on the configurations applied to the Builder.
DSL helper for applying link formatting to a block of text.
DSL helper for applying strong (bold/emphasized) formatting to a block of text.