Package io.rong.imkit.conversation.extension.component.moreaction

## Interface IClickActions

- All Implemented Interfaces:

      public interface IClickActions

  Created by zwfang on 2018/3/29.

- - ### 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 Drawable` | `obtainDrawable(Context context)` | 获取点击按钮的图标
    `abstract void` | `onClick(Fragment curFragment)` | 图标按钮点击事件
    `abstract boolean` | `filter(UiMessage message)` | UIMessage 过滤

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### obtainDrawable

           abstract Drawable obtainDrawable(Context context)

      获取点击按钮的图标

      Parameters:
        `context` - 上下文
      Returns:

        图片的Drawable, 如需高亮或者置灰，则返回类型为selector, 分别显示enable或者disable状态下的drawable

    - #### onClick

           abstract void onClick(Fragment curFragment)

      图标按钮点击事件

      Parameters:
        `curFragment` - 当前 Fragment, 请注意不要持有该 fragment, 否则容易引起内存泄露。

    - #### filter

           abstract boolean filter(UiMessage message)

      UIMessage 过滤

      Parameters:
        `message` - 消息
      Returns:

        返回true，表示显示