タブレットアプリでは、1つのアクティビティで(1つのクラスの)多くのフラグメントを並べて使用します。このフラグメントクラスでは、次のようになります。
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
getLoaderManager().initLoader(this.position, null, this);
}
と
public Loader<Cursor> onCreateLoader(int id, Bundle args) {
Uri uri = Uri.withAppendedPath(...)
return new CursorLoader(getActivity(), uri, proj, null, null, "distance");
}
各フラグメントは、 CursorLoaderの新しいワーカースレッドを開始します。このスケールはどこまでですか?