listView.setTextFilterEnabled(boolean testFilterEnabled)的作用
API解釋是:
public void setTextFilterEnabled (boolean textFilterEnabled)
Enables or disables the type filter window. If enabled, typing when this view has focus will filter the children to match the users input. Note that the Adapter used by this view must implement the Filterable interface
中文意思就是:設置是否可以通過鍵盤輸入的字符來過濾掉不需要的選項,定位到需要的選項。
posted on 2011-07-10 18:09 小一敗涂地 閱讀(1676) 評論(0) 編輯 收藏 所屬分類: android+移動開發