Package io.rong.imkit.usermanage.component

## Class SearchComponent

- All Implemented Interfaces:

      public class SearchComponent

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public interface` | `SearchComponent.OnSearchQueryListener` |

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SearchComponent(Context context)` |
    `SearchComponent(Context context, AttributeSet attrs)` |
    `SearchComponent(Context context, AttributeSet attrs, int defStyleAttr)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setSearchClickListener(OnClickListener onSearchClickListener)` | 设置搜索框点击事件监听器
    `void` | `setSearchHint(int resId)` |
    `void` | `setSearchContent(String searchContent)` |
    `void` | `setSearchQueryListener(SearchComponent.OnSearchQueryListener listener)` | 设置搜索监听器

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

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

- - ### Constructor Detail

    - #### SearchComponent

          SearchComponent(Context context)

    - #### SearchComponent

          SearchComponent(Context context, AttributeSet attrs)

    - #### SearchComponent

          SearchComponent(Context context, AttributeSet attrs, int defStyleAttr)

  - ### Method Detail

    - #### setSearchClickListener

           void setSearchClickListener(OnClickListener onSearchClickListener)

      设置搜索框点击事件监听器

    - #### setSearchHint

           void setSearchHint(int resId)

    - #### setSearchContent

           void setSearchContent(String searchContent)

    - #### setSearchQueryListener

           void setSearchQueryListener(SearchComponent.OnSearchQueryListener listener)

      设置搜索监听器

      Parameters:
        `listener` - 搜索监听器