男子大学生の考えること

日々思ったこと。プログラミング、音楽、アニメなど、、、

2014-11-18から1日間の記事一覧

android AutoCompleteTextViewにSimpleCursorAdapterを使う

AutoCompleteTextViewを使うと、入力補完機能の付いたEditTextが使えます。(ちなみに、AutoCompleteTextViewはEditTextのサブクラス。EditTextはTextViewのサブクラス。何か違和感を感じますが。) どう使うかというと、AutoCompleteTextView.setAdapter(Adap…