Preface
This chapter content is android. widget. Filterable, version for Android 2.2 r1, translated from "de rod", welcome to visit his blog: http://sparkrico.javaeye.com, thank you again "de rod "! I look forward to your participation in Android Chinese API translation, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://code.taobao.org/project/view/404/
Body
I. Structure
Public interface Filterable
Android. widget. SpinnerAdapter
Direct subclass
ArrayAdapter <T>, CursorAdapter, CursorTreeAdapter, HeaderViewListAdapter, ResourceCursorAdapter, ResourceCursorTreeAdapter, SimpleAdapter, SimpleCursorAdapter, SimpleCursorTreeAdapter
Ii. Overview
Defines a filterable behavior. A filterable class can filter its data through a filter. The filtering class is usually implemented by the Adapter.
Iii. Public Methods
Public abstract FilterGetFilter ()
Returns a filter that can constrain data through a filtering mode.
This method is usually implemented by the Adapter class.
Return Value
A filter used to constrain data
Iv. Supplement
Article Link
Option for automatically matching contacts (Filterable usage)
How to add the over-limit feature to ListView