docs: public int getViewVisibility(@Nullable TransitionValues values) {
          if (values == null) {
              return View.GONE;
          }
          Integer visibility = (Integer) values.values.get(PROPNAME_VISIBILITY);
          if (visibility == null) {
              return View.GONE;
          }
          return visibility;
      }