문제

I want to implement a custom AutocompleteTextview in which i need three textview for each suggestion.

So far i have implemented custom adapter to populate the values from web. But i don't have idea to create custom AutocompleteTextview that accepts 3 textview.

Please do help me !!!!!

도움이 되었습니까?

해결책

To provide auto-complete functionality do the following steps,

1.Implement a basic searchable activity, as described in Creating a Search Interface. Modify the searchable configuration with information about the content provider that provides custom suggestions.

2.Build a table (such as in an SQLiteDatabase) for your suggestions and format the table with required columns.

3.Create a Content Provider that has access to your suggestions table and declare the provider in your manifest.

4.Declare the type of Intent to be sent when the user selects a suggestion (including a custom action and custom data).

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