Android API (54)-Filterable

Source: Internet
Author: User

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

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.