mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-30 19:49:59 +02:00
Hide subpage view when there is only one page
This commit is contained in:
@@ -157,6 +157,8 @@ public class TableFragment extends Fragment implements FragmentUpdateListener {
|
|||||||
moveSubpageRight.setEnabled(selectedSubpageNr + 1 < subpageCount);
|
moveSubpageRight.setEnabled(selectedSubpageNr + 1 < subpageCount);
|
||||||
subpageView.addView(moveSubpageRight);
|
subpageView.addView(moveSubpageRight);
|
||||||
|
|
||||||
|
subpageView.setVisibility(subpageCount > 1 ? View.VISIBLE : View.GONE);
|
||||||
|
|
||||||
tableHeaderView.removeAllViews();
|
tableHeaderView.removeAllViews();
|
||||||
|
|
||||||
ArrayList<MeasurementView> visibleMeasurements = new ArrayList<>();
|
ArrayList<MeasurementView> visibleMeasurements = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user