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)` |
    `boolean` | `onViewLongClick(View view, 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

           boolean onViewLongClick(View view, int clickType, T data)

      Parameters:
        `view` - 触发长按的视图
        `clickType` - 区分点击事件的标记位
        `data` - 传递的数据源

    - #### onViewLongClick

          @Deprecated() abstract boolean onViewLongClick(int clickType, T data)

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