NoCopySpan
public
interface
NoCopySpan
Known indirect subclasses
AbsListView, ExpandableListView, GridView, ListView, MultiTapKeyListener, NoCopySpan.Concrete, PasswordTransformationMethod, PhoneNumberFormattingTextWatcher, SpanWatcher, TextKeyListener, TextWatcher
AbsListView |
Base class that can be used to implement virtualized lists of items.
|
ExpandableListView |
A view that shows items in a vertically scrolling two-level list.
|
GridView |
A view that shows items in two-dimensional scrolling grid.
|
ListView |
Displays a vertically-scrollable collection of views, where each view is positioned
immediately below the previous view in the list.
|
MultiTapKeyListener |
This is the standard key listener for alphabetic input on 12-key
keyboards.
|
NoCopySpan.Concrete |
Convenience equivalent for when you would just want a new Object() for
a span but want it to be no-copy.
|
PasswordTransformationMethod |
|
PhoneNumberFormattingTextWatcher |
This class was deprecated
in API level 35.
This is a thin wrapper on a `libphonenumber` `AsYouTypeFormatter`; it is recommended
to use that instead.
|
SpanWatcher |
When an object of this type is attached to a Spannable, its methods
will be called to notify it that other markup objects have been
added, changed, or removed.
|
TextKeyListener |
This is the key listener for typing normal text.
|
TextWatcher |
When an object of this type is attached to an Editable, its methods will
be called when the text is changed.
|
|
This interface should be added to a span object that should not be copied
into a new Spanned when performing a slice or copy operation on the original
Spanned it was placed in.
Summary
Nested classes |
class |
NoCopySpan.Concrete
Convenience equivalent for when you would just want a new Object() for
a span but want it to be no-copy.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[],[],null,["# NoCopySpan\n\nAdded in [API level 3](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Nested Classes](#nestedclasses) \n\nNoCopySpan\n==========\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/text/NoCopySpan \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\n\n\ninterface\nNoCopySpan\n`\n\n\n`\n\n\n`\n\n|-------------------------|\n| android.text.NoCopySpan |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [AbsListView](/reference/android/widget/AbsListView), [ExpandableListView](/reference/android/widget/ExpandableListView), [GridView](/reference/android/widget/GridView), [ListView](/reference/android/widget/ListView), [MultiTapKeyListener](/reference/android/text/method/MultiTapKeyListener), [NoCopySpan.Concrete](/reference/android/text/NoCopySpan.Concrete), [PasswordTransformationMethod](/reference/android/text/method/PasswordTransformationMethod), [PhoneNumberFormattingTextWatcher](/reference/android/telephony/PhoneNumberFormattingTextWatcher), [SpanWatcher](/reference/android/text/SpanWatcher), [TextKeyListener](/reference/android/text/method/TextKeyListener), [TextWatcher](/reference/android/text/TextWatcher) |---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------| | [AbsListView](/reference/android/widget/AbsListView) | Base class that can be used to implement virtualized lists of items. | | [ExpandableListView](/reference/android/widget/ExpandableListView) | A view that shows items in a vertically scrolling two-level list. | | [GridView](/reference/android/widget/GridView) | A view that shows items in two-dimensional scrolling grid. | | [ListView](/reference/android/widget/ListView) | Displays a vertically-scrollable collection of views, where each view is positioned immediately below the previous view in the list. | | [MultiTapKeyListener](/reference/android/text/method/MultiTapKeyListener) | This is the standard key listener for alphabetic input on 12-key keyboards. | | [NoCopySpan.Concrete](/reference/android/text/NoCopySpan.Concrete) | Convenience equivalent for when you would just want a new Object() for a span but want it to be no-copy. | | [PasswordTransformationMethod](/reference/android/text/method/PasswordTransformationMethod) | | | [PhoneNumberFormattingTextWatcher](/reference/android/telephony/PhoneNumberFormattingTextWatcher) | *This class was deprecated in API level 35. This is a thin wrapper on a \\`libphonenumber\\` \\`AsYouTypeFormatter\\`; it is recommended to use that instead.* | | [SpanWatcher](/reference/android/text/SpanWatcher) | When an object of this type is attached to a Spannable, its methods will be called to notify it that other markup objects have been added, changed, or removed. | | [TextKeyListener](/reference/android/text/method/TextKeyListener) | This is the key listener for typing normal text. | | [TextWatcher](/reference/android/text/TextWatcher) | When an object of this type is attached to an Editable, its methods will be called when the text is changed. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThis interface should be added to a span object that should not be copied\ninto a new Spanned when performing a slice or copy operation on the original\nSpanned it was placed in.\n\nSummary\n-------\n\n| ### Nested classes ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` class` | [NoCopySpan.Concrete](/reference/android/text/NoCopySpan.Concrete) Convenience equivalent for when you would just want a new Object() for a span but want it to be no-copy. |"]]