| java.lang.Object | ||||
| ↳ | java.util.AbstractCollection<T> | |||
| ↳ | java.util.AbstractList<T> | |||
| ↳ | java.util.ArrayList<T> | |||
| ↳ | android.databinding.ObservableArrayList<T> | |||
An ObservableList implementation using ArrayList as an implementation.
| 
  [Expand]
   Inherited Fields  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From class
java.util.AbstractList
 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
          Adds the specified object at the end of this  
  
  ArrayList.
          
    
         | |||||||||||
          Inserts the specified object into this  
  
  ArrayList at the specified
 location.
          
    
         | |||||||||||
          Inserts the objects in the specified collection at the specified location
 in this List.
          
    
         
  
   | |||||||||||
          Adds the objects in the specified collection to this  
  
  ArrayList.
          
    
         | |||||||||||
          Removes all elements from this  
  
  ArrayList, leaving it empty.
          
    
         | |||||||||||
          Removes the object at the specified location from this list.
          
    
         
  
   | |||||||||||
          Removes one instance of the specified object from this  
  
  Collection if one
 is contained (optional).
          
    
         | |||||||||||
          Replaces the element at the specified location in this  
  
  ArrayList
 with the specified object.
          
    
         | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
          Removes the objects in the specified range from the start to the end
 index minus one.
          
    
         
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.util.ArrayList
 | |||||||||||
   
From class
  java.util.AbstractList
 | |||||||||||
   
From class
  java.util.AbstractCollection
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  java.util.List
 | |||||||||||
   
From interface
  java.util.Collection
 | |||||||||||
   
From interface
  android.databinding.ObservableList
 | |||||||||||
   
From interface
  java.lang.Iterable
 | |||||||||||
   
From interface
  java.util.List
 | |||||||||||
Adds the specified object at the end of this ArrayList.
| object | the object to add. | 
|---|
Inserts the specified object into this ArrayList at the specified
 location. The object is inserted before any previous element at the
 specified location. If the location is equal to the size of this
 ArrayList, the object is added at the end.
| index | the index at which to insert the object. | 
|---|---|
| object | the object to add. | 
Inserts the objects in the specified collection at the specified location in this List. The objects are added in the order they are returned from the collection's iterator.
| index | the index at which to insert. | 
|---|---|
| collection | the collection of objects. | 
true if this ArrayList is modified, false
         otherwise.Adds the objects in the specified collection to this ArrayList.
| collection | the collection of objects. | 
|---|
true if this ArrayList is modified, false
         otherwise.
Removes all elements from this ArrayList, leaving it empty.
Removes the object at the specified location from this list.
| index | the index of the object to remove. | 
|---|
Removes one instance of the specified object from this Collection if one
 is contained (optional). This implementation iterates over this
 Collection and tests for each element e returned by the iterator,
 whether e is equal to the given object. If object != null
 then this test is performed using object.equals(e), otherwise
 using object == null. If an element equal to the given object is
 found, then the remove method is called on the iterator and
 true is returned, false otherwise. If the iterator does
 not support removing elements, an UnsupportedOperationException
 is thrown.
| object | the object to remove. | 
|---|
true if this Collection is modified, false
         otherwise.Replaces the element at the specified location in this ArrayList
 with the specified object.
| index | the index at which to put the specified object. | 
|---|---|
| object | the object to add. | 
Removes the objects in the specified range from the start to the end index minus one.
| fromIndex | the index at which to start removing. | 
|---|---|
| toIndex | the index after the last element to remove. |