Added empty constructor (the v4 support lib might throw an exception

without one)
This commit is contained in:
Doug Keen 2012-10-19 14:44:37 -07:00
parent d6815b2584
commit 05c6c2298a
2 changed files with 13 additions and 0 deletions

View File

@ -4,12 +4,18 @@ import android.content.ContentValues;
import android.view.View; import android.view.View;
import android.widget.CheckBox; import android.widget.CheckBox;
import com.dougkeen.bart.BartRunnerApplication;
import com.dougkeen.bart.R; import com.dougkeen.bart.R;
import com.dougkeen.bart.data.RoutesColumns; import com.dougkeen.bart.data.RoutesColumns;
import com.dougkeen.bart.model.Constants; import com.dougkeen.bart.model.Constants;
import com.dougkeen.bart.model.Station; import com.dougkeen.bart.model.Station;
public class AddRouteDialogFragment extends AbstractRouteSelectionFragment { public class AddRouteDialogFragment extends AbstractRouteSelectionFragment {
public AddRouteDialogFragment() {
super(BartRunnerApplication.getAppContext().getString(
R.string.add_route));
}
public AddRouteDialogFragment(String title) { public AddRouteDialogFragment(String title) {
super(title); super(title);
} }

View File

@ -2,11 +2,18 @@ package com.dougkeen.bart.activities;
import android.content.Intent; import android.content.Intent;
import com.dougkeen.bart.BartRunnerApplication;
import com.dougkeen.bart.R;
import com.dougkeen.bart.model.Constants; import com.dougkeen.bart.model.Constants;
import com.dougkeen.bart.model.Station; import com.dougkeen.bart.model.Station;
public class QuickRouteDialogFragment extends AbstractRouteSelectionFragment { public class QuickRouteDialogFragment extends AbstractRouteSelectionFragment {
public QuickRouteDialogFragment() {
super(BartRunnerApplication.getAppContext().getString(
R.string.quick_departure_lookup));
}
public QuickRouteDialogFragment(String title) { public QuickRouteDialogFragment(String title) {
super(title); super(title);
} }