Package io.rong.imkit.base.adapter

## Class ItemViewDelegateManager

- All Implemented Interfaces:

      public class ItemViewDelegateManager<T>

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ItemViewDelegateManager()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getItemViewDelegateCount()` |
    `ItemViewDelegateManager<T>` | `)>addDelegate(ItemViewDelegate<T> delegate)` |
    `ItemViewDelegateManager<T>` | `)>addDelegate(int viewType, ItemViewDelegate<T> delegate)` |
    `ItemViewDelegateManager<T>` | `)>removeDelegate(ItemViewDelegate<T> delegate)` |
    `ItemViewDelegateManager<T>` | `removeDelegate(int itemType)` |
    `int` | `getItemViewType(T item, int position)` |
    `void` | `convert(ViewHolder holder, T item, int position)` |
    `ItemViewDelegate` | `getItemViewDelegate(int viewType)` |
    `int` | `getItemViewLayoutId(int viewType)` |
    `int` | `getItemViewType(ItemViewDelegate itemViewDelegate)` |

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

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

- - ### Constructor Detail

    - #### ItemViewDelegateManager

          ItemViewDelegateManager()

  - ### Method Detail

    - #### getItemViewDelegateCount

           int getItemViewDelegateCount()

    - #### addDelegate

           ItemViewDelegateManager<T> )>addDelegate(ItemViewDelegate<T> delegate)

    - #### addDelegate

           ItemViewDelegateManager<T> )>addDelegate(int viewType, ItemViewDelegate<T> delegate)

    - #### removeDelegate

           ItemViewDelegateManager<T> )>removeDelegate(ItemViewDelegate<T> delegate)

    - #### removeDelegate

           ItemViewDelegateManager<T> removeDelegate(int itemType)

    - #### getItemViewType

           int getItemViewType(T item, int position)

    - #### convert

           void convert(ViewHolder holder, T item, int position)

    - #### getItemViewDelegate

           ItemViewDelegate getItemViewDelegate(int viewType)

    - #### getItemViewLayoutId

           int getItemViewLayoutId(int viewType)

    - #### getItemViewType

           int getItemViewType(ItemViewDelegate itemViewDelegate)