문제

I've a custom listView and a CursorAdapter and search field on optionMenu . I used to have an arrayAdapter and it worked fine but I can't do the same with CursorAdapter .

Could you help me to filter items from cursorAdapter ?

thanks

도움이 되었습니까?

해결책

You have to use CursorAdapter.setFilterQueryProvider. For more details please refer to the answer to the post below. For your ease here is a link to the blog.

Answered Question from another post

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top