理解のためだけに。
現在、次のように機能する非同期タスクがあります。
String doInBackground(Void... params)
//Downloads a JSON and returns it to the onPostExecute().
void onPostExecute(String response)
//Parses the JSON which has an array of stuff and insert into sqlite.
Call changeCursosr and notifyDataSetChanged.
これは、リストビューの挿入と更新を処理する正しい方法ですか?現在、実行後にヒットするたびにわずかなハングが発生しています。代わりに、データを解析してdoInBackgroundに挿入する必要がありますか?