Added empty constructor (the v4 support lib might throw an exception
without one)
This commit is contained in:
parent
d6815b2584
commit
05c6c2298a
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user