|
@@ -12,15 +12,13 @@ import com.luticate.utils.business.LuPromise;
|
12
|
12
|
import com.rthoni.stssaguenay.R;
|
13
|
13
|
import com.rthoni.stssaguenay.dbo.UserFavouriteStopsDbo;
|
14
|
14
|
import com.rthoni.stssaguenay.dbo.StopsDbo;
|
15
|
|
-import com.rthoni.stssaguenay.ui.fragments.StopPickerFragment;
|
|
15
|
+import com.rthoni.stssaguenay.ui.fragments.StopListPickerFragment;
|
16
|
16
|
import com.rthoni.stssaguenay.ui.fragments.StopRoutesPickerFragment;
|
17
|
17
|
|
18
|
18
|
public class StopPickerActivity extends AppCompatActivity {
|
19
|
19
|
|
20
|
20
|
public static String STOP_EXTRA_NAME = "STOP_EXTRA";
|
21
|
21
|
|
22
|
|
- private StopPickerFragment _stopPickerFragment;
|
23
|
|
-
|
24
|
22
|
@Override
|
25
|
23
|
protected void onCreate(Bundle savedInstanceState) {
|
26
|
24
|
super.onCreate(savedInstanceState);
|
|
@@ -48,7 +46,7 @@ public class StopPickerActivity extends AppCompatActivity {
|
48
|
46
|
|
49
|
47
|
public void goToStops()
|
50
|
48
|
{
|
51
|
|
- StopPickerFragment f = new StopPickerFragment();
|
|
49
|
+ StopListPickerFragment f = new StopListPickerFragment();
|
52
|
50
|
f.setOnStopSelectedConsumer(new LuPromise.LuConsumer<StopsDbo>() {
|
53
|
51
|
@Override
|
54
|
52
|
public void execute(StopsDbo data) {
|