跳过导航链接
C D F G H I L O R S 

C

ClearEditText - scut.carson_ho.searchview中的类
Created by Carson_Ho on 17/8/10.
ClearEditText(Context) - 类 的构造器scut.carson_ho.searchview.ClearEditText
 
ClearEditText(Context, AttributeSet) - 类 的构造器scut.carson_ho.searchview.ClearEditText
 
ClearEditText(Context, AttributeSet, int) - 类 的构造器scut.carson_ho.searchview.ClearEditText
 

D

DrawableCenterTextView - scut.carson_ho.searchview中的类
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2018/9/1 16:31 Description: DrawableComponent居中的TextView Remarks: 参考:https://blog.csdn.net/wk843620202/article/details/59173899 =======================================================
DrawableCenterTextView(Context) - 类 的构造器scut.carson_ho.searchview.DrawableCenterTextView
 
DrawableCenterTextView(Context, AttributeSet) - 类 的构造器scut.carson_ho.searchview.DrawableCenterTextView
 

F

FooterViewHolder(View) - 类 的构造器scut.carson_ho.searchview.adapter.HistoryAdapter.FooterViewHolder
 

G

getItemCount() - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
getItemOffsets(Rect, View, RecyclerView, RecyclerView.State) - 类 中的方法scut.carson_ho.searchview.LineDecoration
 
getItemViewType(int) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
getSearchText() - 类 中的方法scut.carson_ho.searchview.SearchView
获取搜索关键词

H

hideClearHistoryText() - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
HistoryAdapter - scut.carson_ho.searchview.adapter中的类
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2018/9/1 9:59 Description: 历史纪录列表适配器 Remarks: =======================================================
HistoryAdapter(List<String>) - 类 的构造器scut.carson_ho.searchview.adapter.HistoryAdapter
 
HistoryAdapter.FooterViewHolder - scut.carson_ho.searchview.adapter中的类
 
HistoryAdapter.ItemViewHolder - scut.carson_ho.searchview.adapter中的类
 
HistoryAdapter.OnHistoryActionListener - scut.carson_ho.searchview.adapter中的接口
历史记录操作监听器

I

ItemViewHolder(View) - 类 的构造器scut.carson_ho.searchview.adapter.HistoryAdapter.ItemViewHolder
 

L

LineDecoration - scut.carson_ho.searchview中的类
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2018/9/1 14:52 Description: Remarks: =======================================================
LineDecoration(Context) - 类 的构造器scut.carson_ho.searchview.LineDecoration
 

O

onBack() - 接口 中的方法scut.carson_ho.searchview.listener.OnBackListener
 
OnBackListener - scut.carson_ho.searchview.listener中的接口
Created by Carson_Ho on 17/8/11.
onBindViewHolder(RecyclerView.ViewHolder, int) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
onClear() - 接口 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter.OnHistoryActionListener
清除所有条目
onClear() - 类 中的方法scut.carson_ho.searchview.SearchView
 
onCreate(SQLiteDatabase) - 类 中的方法scut.carson_ho.searchview.RecordSQLiteOpenHelper
 
onCreateViewHolder(ViewGroup, int) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
onDelete(int, String) - 接口 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter.OnHistoryActionListener
删除条目
onDelete(int, String) - 类 中的方法scut.carson_ho.searchview.SearchView
 
onDraw(Canvas) - 类 中的方法scut.carson_ho.searchview.DrawableCenterTextView
 
onDraw(Canvas, RecyclerView, RecyclerView.State) - 类 中的方法scut.carson_ho.searchview.LineDecoration
 
onFocusChanged(boolean, int, Rect) - 类 中的方法scut.carson_ho.searchview.ClearEditText
 
onItemClick(int, String) - 接口 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter.OnHistoryActionListener
点击条目
onItemClick(int, String) - 类 中的方法scut.carson_ho.searchview.SearchView
即当用户点击搜索历史里的字段后,会直接填充搜索框
onSearch(String) - 接口 中的方法scut.carson_ho.searchview.listener.OnSearchListener
 
OnSearchListener - scut.carson_ho.searchview.listener中的接口
Created by Carson_Ho on 17/8/10.
onTextChanged(CharSequence, int, int, int) - 类 中的方法scut.carson_ho.searchview.ClearEditText
步骤3:通过监听复写EditText本身的方法来确定是否显示删除图标 监听方法:onTextChanged() & onFocusChanged() 调用时刻:当输入框内容变化时 & 焦点发生变化时
onTouchEvent(MotionEvent) - 类 中的方法scut.carson_ho.searchview.ClearEditText
步骤4:对删除图标区域设置点击事件,即"点击 = 清空搜索框内容" 原理:当手指抬起的位置在删除图标的区域,即视为点击了删除图标 = 清空搜索框内容
onUpgrade(SQLiteDatabase, int, int) - 类 中的方法scut.carson_ho.searchview.RecordSQLiteOpenHelper
 

R

RecordSQLiteOpenHelper - scut.carson_ho.searchview中的类
Created by Carson_Ho on 17/8/10.

S

scut.carson_ho.searchview - 程序包 scut.carson_ho.searchview
 
scut.carson_ho.searchview.adapter - 程序包 scut.carson_ho.searchview.adapter
 
scut.carson_ho.searchview.listener - 程序包 scut.carson_ho.searchview.listener
 
SearchView - scut.carson_ho.searchview中的类
Created by Carson_Ho on 17/8/10.
SearchView(Context) - 类 的构造器scut.carson_ho.searchview.SearchView
构造函数 作用:对搜索框进行初始化
SearchView(Context, AttributeSet) - 类 的构造器scut.carson_ho.searchview.SearchView
 
SearchView(Context, AttributeSet, int) - 类 的构造器scut.carson_ho.searchview.SearchView
 
setClearHistoryText(String) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
setClearHistoryTextBackground(int) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
setClearHistoryTextColor(ColorStateList) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
setClearHistoryTextSize(float) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
setClearIconColor(ColorStateList) - 类 中的方法scut.carson_ho.searchview.ClearEditText
 
setOnBackListener(OnBackListener) - 类 中的方法scut.carson_ho.searchview.SearchView
点击返回后的操作,用于接口回调
setOnHistoryActionListener(HistoryAdapter.OnHistoryActionListener) - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
setOnSearchListener(OnSearchListener) - 类 中的方法scut.carson_ho.searchview.SearchView
点击键盘中搜索键后的操作,用于接口回调
setSearchIconColor(ColorStateList) - 类 中的方法scut.carson_ho.searchview.ClearEditText
 
setSearchIconVisible(boolean) - 类 中的方法scut.carson_ho.searchview.ClearEditText
判断是否显示搜素图标
showClearHistoryText() - 类 中的方法scut.carson_ho.searchview.adapter.HistoryAdapter
 
startSearch() - 类 中的方法scut.carson_ho.searchview.SearchView
开始搜索
startSearchWhenHistoryItemClick - 类 中的变量scut.carson_ho.searchview.SearchView
当点击历史条目时启动搜索
C D F G H I L O R S 
跳过导航链接