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.ConcreteConvenience 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."],[],[]]