code: private OnClickListener createHideFloatingActionButtonsListener() {
          return new OnClickListener() {
  
              @Override
              public void onClick(final View v) {
                  int visibility = floatingActionButtonsVisible ? View.INVISIBLE : View.VISIBLE;
                  smallFloatingActionButton.setVisibility(visibility, true);
                  normalFloatingActionButton.setVisibility(visibility, true);
                  largeFloatingActionButton.setVisibility(visibility, true);
                  floatingActionButtonsVisible = !floatingActionButtonsVisible;
              }
  
          };
      }
docs: Creates and returns a listener, which allows to show or hide the floating action buttons.
  
  @return The listener, which has been created, as an instance of the type {@link
  OnClickListener}