私はこの例に従っています: http://developer.android.com/guide/topics/ui/layout/listview.html
私はこの方法にいます:
// Called when a new Loader needs to be created
public Loader<Cursor> onCreateLoader(int id, Bundle args) {
// Now create and return a CursorLoader that will take care of
// creating a Cursor for the data being displayed.
return new CursorLoader(this, ContactsContract.Data.CONTENT_URI,
PROJECTION, SELECTION, null, null);
}
SQLite データベース用に独自の CursorLoader を作成しようとしています。以前に のサブクラスを作成しましたSQLiteOpenHelper
。CursorLoader
URI をコンストラクターの 2 番目の引数として使用するにはどうすればよいですか?