Changeset View
Changeset View
Standalone View
Standalone View
src/it/reyboz/bustorino/fragments/FragmentHelper.java
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | public FragmentHelper(GeneralActivity act, int swipeRefID, int mainFrame) { | ||||
this(act,swipeRefID,mainFrame,NO_FRAME); | this(act,swipeRefID,mainFrame,NO_FRAME); | ||||
} | } | ||||
public FragmentHelper(GeneralActivity act, int swipeRefID, int primaryFrameLayout, int secondaryFrameLayout) { | public FragmentHelper(GeneralActivity act, int swipeRefID, int primaryFrameLayout, int secondaryFrameLayout) { | ||||
this.act = act; | this.act = act; | ||||
this.swipeRefID = swipeRefID; | this.swipeRefID = swipeRefID; | ||||
this.primaryFrameLayout = primaryFrameLayout; | this.primaryFrameLayout = primaryFrameLayout; | ||||
this.secondaryFrameLayout = secondaryFrameLayout; | this.secondaryFrameLayout = secondaryFrameLayout; | ||||
newDBHelper = NextGenDB.getInstance(act.getApplicationContext()); | newDBHelper = new NextGenDB(act.getApplicationContext()); | ||||
} | } | ||||
/** | /** | ||||
* Get the last successfully searched bus stop or NULL | * Get the last successfully searched bus stop or NULL | ||||
* | * | ||||
* @return | * @return | ||||
*/ | */ | ||||
public Stop getLastSuccessfullySearchedBusStop() { | public Stop getLastSuccessfullySearchedBusStop() { | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register