/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/StationList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 724 by torben, Fri May 7 15:13:07 2010 UTC revision 725 by torben, Tue May 11 05:38:18 2010 UTC
# Line 177  public class StationList extends ListAct Line 177  public class StationList extends ListAct
177                          Log.e("StationList", "dismissDialog failed", e);                          Log.e("StationList", "dismissDialog failed", e);
178                  }                  }
179          }          }
180            public void dismissDialogSafe(Dialog dlg) {
181                    try {
182                            dlg.dismiss();
183                    } catch (Exception e) {
184                            Log.e("StationList", "dismissDialog failed", e);
185                    }
186            }
187                    
188          public void builderShowSafe(AlertDialog.Builder builder) {          public void builderShowSafe(AlertDialog.Builder builder) {
189                  try {                  try {
# Line 512  public class StationList extends ListAct Line 519  public class StationList extends ListAct
519                  @Override                  @Override
520                  protected void onPostExecute(Void result) {                  protected void onPostExecute(Void result) {
521                          super.onPostExecute(result);                          super.onPostExecute(result);
522                          dialog.dismiss();                          dismissDialogSafe(dialog);
523                                                    
524                                                    
525                          if (success) {                                                    if (success) {                          

Legend:
Removed from v.724  
changed lines
  Added in v.725

  ViewVC Help
Powered by ViewVC 1.1.20