Android Action Bar Search: How to filter a list by the property of a list item?
问题 I have a list view with a list item, which has few text views and a checkbox. Using action bar search, I need to filter out the list by a text view value. This is my list which I need to filter by "Priority". This is the method I used to filter the list from the data adopter. @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.main, menu); SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH