@Override public void onCancel(DialogInterface dialog) { this.cancel(true); } }
protected Result doInBackground(Params... params) { try { myDoBackground(); } catch (ErreurReseau erreurReseau) { erreurReseau.printStackTrace(); erreur = true; } return null; }
@Override protected void onPostExecute(Void result) { if (!isCancelled()) { ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } super.onPostExecute(result); } }.execute((Void) null);
@Override protected void onPostExecute(Void result) { if (!isCancelled()) { ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } super.onPostExecute(result); } }.execute((Void) null);
@Override protected void onPostExecute(Void result) { super.onPostExecute(result); if (!isCancelled()) { ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } }
@Override protected void onPostExecute(Void result) { super.onPostExecute(result); if (!isCancelled()) { ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } }
@Override protected void onPostExecute(Void result) { if (!isCancelled()) { updateLocation(locationUtil.getCurrentLocation()); ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } super.onPostExecute(result); } }.execute();
@Override protected void onPostExecute(Void result) { super.onPostExecute(result); if (!isCancelled()) { updateLocation(locationUtil.getCurrentLocation()); ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } } }.execute();
@Override protected void onPostExecute(Void result) { if (!isCancelled()) { updateLocation(locationUtil.getCurrentLocation()); ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } super.onPostExecute(result); } }.execute();
@Override protected void onPostExecute(Void result) { super.onPostExecute(result); if (erreurLigneNonTrouvee) { Toast.makeText(AbstractDetailArret.this, getString(R.string.erreurLigneInconue, myLigne.nomCourt), Toast.LENGTH_LONG).show(); finish(); } else if (erreurNoSpaceLeft) { Toast.makeText(AbstractDetailArret.this, R.string.erreurNoSpaceLeft, Toast.LENGTH_LONG).show(); finish(); } else { setListAdapter(construireAdapter()); if (getListAdapter().getCount() != 0) { setSelection(((AbstractDetailArretAdapter) getListAdapter()).getPositionToMove()); } getListView().invalidate(); updateTimeUtil.start(); firstUpdate = true; } }
@Override protected void onPostExecute(Void result) { super.onPostExecute(result); if (!isCancelled()) { updateQuery(currentQuery); updateLocation(locationUtil.getCurrentLocation()); ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } } }.execute((Void) null);
@Override protected void onPostExecute(Void result) { if (!isCancelled()) { updateQuery(currentQuery); updateLocation(locationUtil.getCurrentLocation()); ((BaseAdapter) getListAdapter()).notifyDataSetChanged(); } super.onPostExecute(result); } }.execute((Void) null);