+ model.observePositionAndPaddingVisible(this, visible -> {
+ csd.findViewById(R.id.params_panel)
+ .setVisibility(visible ? View.VISIBLE : View.GONE);
+ });
+
+ if ((savedInstanceState != null) ? savedInstanceState.getBoolean(ARG_SHOW_PARAMS,
+ DEFAULT_SHOW_PARAMS) : DEFAULT_SHOW_PARAMS)
+ model.showPositionAndPadding();
+ else
+ model.hidePositionAndPadding();
+