Actionbarsherlock searchview: setOnQueryTextListener

后端 未结 4 1715
庸人自扰
庸人自扰 2021-01-07 00:12

I\'m trying to make a filter in a List using ActionBarSherlock\'s search view. The code I currently have is the following:

@Override
public boolean onCreateO         


        
4条回答
  •  無奈伤痛
    2021-01-07 01:12

    As every other answer contained a bit of truth, but didn't answer the question fully, I'll create my own answer.

    When this issue was created - half a year ago - ABS did not fully implement the SearchView functionality. As of ABS 4.2.0, this has been implemented.

    My full implementation, by following the ABS sample app, can be found here.

提交回复
热议问题