You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure these boxes are checked before submitting your issue - thank you!
Check in the issue tracker whether
this issue wasn't already reported.
If it's a bug report check that clear steps to reproduce, stacktrace, expected behaviour and other needed details are provided.
Feature requests contain a description of the feature
you're requesting as well as a brief scenario explaining
under what circumstances this might be useful.
I have a step wizard with 8 steps, and the last step is a summary of everything where the user can click on each information and go direct to this step.
Therefore, when the user select some specific services on the 4 step. I need to show or hide 3 further steps.
However, I cannot find a good way to implement this behavior.
case 0:
final CompanyFragment client = new CompanyFragment();
Bundle bClient = new Bundle();
bClient.putInt(CURRENT_STEP_POSITION_KEY, position);
client.setArguments(bClient);
return client;
case 1:
final BuildingFragment building = new BuildingFragment();
Bundle bBuilding = new Bundle();
bBuilding.putInt(CURRENT_STEP_POSITION_KEY, position);
building.setArguments(bBuilding);
return building;
case 2:
final ShiftFragment shift = new ShiftFragment();
Bundle bShift = new Bundle();
bShift.putInt(CURRENT_STEP_POSITION_KEY, position);
shift.setArguments(bShift);
return shift;
case 3:
final ServiceFragment service = new ServiceFragment();
Bundle bService = new Bundle();
bService.putInt(CURRENT_STEP_POSITION_KEY, position);
service.setArguments(bService);
return service;
case 4:
final ServiceDetailsFragment serviceDetails = new ServiceDetailsFragment();
Bundle bServiceDetails = new Bundle();
bServiceDetails.putInt(CURRENT_STEP_POSITION_KEY, position);
serviceDetails.setArguments(bServiceDetails);
return serviceDetails;
case 5:
final CarrierFragment carrier = new CarrierFragment();
Bundle bCarrier = new Bundle();
bCarrier.putInt(CURRENT_STEP_POSITION_KEY, position);
carrier.setArguments(bCarrier);
return carrier;
case 6:
final VehicleFragment vehicle = new VehicleFragment();
Bundle bVehicle = new Bundle();
bVehicle.putInt(CURRENT_STEP_POSITION_KEY, position);
vehicle.setArguments(bVehicle);
return vehicle;
case 7:
final PlateFragment plate = new PlateFragment();
Bundle bPlate = new Bundle();
bPlate.putInt(CURRENT_STEP_POSITION_KEY, position);
plate.setArguments(bPlate);
return plate;
case 8:
final SummaryFragment summary = new SummaryFragment();
Bundle bSummary = new Bundle();
bSummary.putInt(CURRENT_STEP_POSITION_KEY, position);
summary.setArguments(bSummary);
return summary;
I need to hide the case 5, 6 and 7.
The text was updated successfully, but these errors were encountered:
Tarcisiofl
changed the title
How to set getCallback()?
getCallback() NullPointerException
Jun 6, 2019
Tarcisiofl
changed the title
getCallback() NullPointerException
Remove or Add Steps Conditionally
Jun 7, 2019
Make sure these boxes are checked before submitting your issue - thank you!
this issue wasn't already reported.
stacktrace, expected behaviour and other needed details are provided.
you're requesting as well as a brief scenario explaining
under what circumstances this might be useful.
I have a step wizard with 8 steps, and the last step is a summary of everything where the user can click on each information and go direct to this step.
Therefore, when the user select some specific services on the 4 step. I need to show or hide 3 further steps.
However, I cannot find a good way to implement this behavior.
I need to hide the case 5, 6 and 7.
The text was updated successfully, but these errors were encountered: