Skip to content

Commit 8108ff5

Browse files
enizbilginzawadz88
authored andcommitted
Added setShowBottomNavigation(boolean) method so that the visibility could be changed programmatically.
1 parent c1f889c commit 8108ff5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

material-stepper/src/main/java/com/stepstone/stepper/StepperLayout.java

+4
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ public void setBackButtonEnabled(boolean enabled) {
453453
mBackNavigationButton.setEnabled(enabled);
454454
}
455455

456+
public void setShowBottomNavigation(boolean showBottomNavigation) {
457+
mStepNavigation.setVisibility(showBottomNavigation ? View.VISIBLE : View.GONE);
458+
}
459+
456460
/**
457461
* Set whether when going backwards should clear the error state from the Tab. Default is <code>false</code>.
458462
*

0 commit comments

Comments
 (0)