Package io.rong.imkit.widget.adapter

## Interface IViewProviderListener

- All Implemented Interfaces:

      public interface IViewProviderListener<T>

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onViewClick(int clickType, T data)` |
    `abstract boolean` | `onViewLongClick(int clickType, T data)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onViewClick

           abstract void onViewClick(int clickType, T data)

      Parameters:
        `clickType` - 区分点击事件的标记位
        `data` - 传递的数据源

    - #### onViewLongClick

           abstract boolean onViewLongClick(int clickType, T data)

      Parameters:
        `clickType` - 区分点击事件的标记位
        `data` - 传递的数据源