# SearchComponent

public class SearchComponent

## Constructors

SearchComponent
Link copied to clipboard
public void SearchComponent(Context context)
public void SearchComponent(Context context, AttributeSet attrs)
public void SearchComponent(Context context, AttributeSet attrs, int defStyleAttr)

## Types

OnSearchQueryListener
Link copied to clipboard
public interface OnSearchQueryListener

## Functions

setSearchClickListener
Link copied to clipboard
public void setSearchClickListener(OnClickListener onSearchClickListener)
设置搜索框点击事件监听器
setSearchContent
Link copied to clipboard
public void setSearchContent(String searchContent)
setSearchHint
Link copied to clipboard
public void setSearchHint(int resId)
setSearchQueryListener
Link copied to clipboard
public void setSearchQueryListener(SearchComponent.OnSearchQueryListener listener)
设置搜索监听器