1

提案ごとに 3 つのテキストビューが必要なカスタム AutocompleteTextview を実装したいと考えています。

これまでのところ、Web から値を入力するカスタム アダプターを実装しました。しかし、3 つのテキストビューを受け入れるカスタム AutocompleteTextview を作成する考えはありません。

私を助けてください!!!!!

4

1 に答える 1

1

オートコンプリート機能を提供するには、次の手順を実行します。

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).

于 2011-11-30T11:30:29.013 に答える