Package io.rong.imkit.widget.adapter

## Class BaseListViewAdapter

- All Implemented Interfaces:

      public abstract class BaseListViewAdapter<T>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BaseListViewAdapter()` |
    `BaseListViewAdapter(Context context)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `findPosition(T message)` |
    `int` | `findPosition(long id)` |
    `void` | `addCollection(Collection<T> collection)` |
    `final void` | `addCollection(Array<T> collection)` |
    `void` | `add(T t)` |
    `void` | `add(T t, int position)` |
    `void` | `remove(int position)` |
    `void` | `removeAll()` |
    `void` | `clear()` |
    `int` | `getCount()` |
    `T` | `getItem(int position)` |
    `View` | `getView(int position, View convertView, ViewGroup parent)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BaseListViewAdapter

          BaseListViewAdapter()

    - #### BaseListViewAdapter

          BaseListViewAdapter(Context context)

  - ### Method Detail

    - #### findPosition

           int findPosition(T message)

    - #### findPosition

           int findPosition(long id)

    - #### addCollection

           void addCollection(Collection<T> collection)

    - #### addCollection

          @SafeVarargs() final void addCollection(Array<T> collection)

    - #### add

           void add(T t)

    - #### add

           void add(T t, int position)

    - #### remove

           void remove(int position)

    - #### removeAll

           void removeAll()

    - #### clear

           void clear()

    - #### getCount

           int getCount()

    - #### getItem

           T getItem(int position)

    - #### getView

           View getView(int position, View convertView, ViewGroup parent)