Пример #1
0
  @Override
  public void startPostponedEnterTransition() {

    if (UtilApp.isLollipopAndGreater()) {
      super.startPostponedEnterTransition();
    }
  }
Пример #2
0
  /**
   * *************************************************** ---------------- * Api support *
   * --------------------
   *
   * <p>These methods will work with api 21 and greater. Lower versions will be ignored
   * **************************************************
   */
  @Override
  public void postponeEnterTransition() {

    // delay transition until we add the leastview items
    if (UtilApp.isLollipopAndGreater()) {
      super.postponeEnterTransition();
    }
  }