title: Fragment Transactions with transition - Unique transitionNames are required
body: <p>I want to go from a list view to the detail view and therefore, I use following <code>OnClickListener</code> in my list:</p>
  
  <pre><code>@Override
  public void onClick(View view)
  {
      Bet bet = (Bet)view.getTag();
      FragmentManager fm = getActivity().getSupportFragmentManager();
      BetDetailFragment f = BetDetailFragment.create(bet);
      String tag = f.getClass().getName();
  
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP)
      {
          setSharedElementReturnTransition(TransitionInflater.from(getActivity()).inflateTransition(android.R.transition.move));
          f.setSharedElementEnterTransition(TransitionInflater.from(getActivity()).inflateTransition(android.R.transition.move));
      }
  
      FragmentTransaction ft = fm.beginTransaction()
              .replace(R.id.frame_container, f, tag)
              .addToBackStack(tag);
  
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP)
      {
          L.d(this, "TRANS: " + TransitionUtil.getTransitionNameBetLogo1(bet) + "|" + view.findViewById(R.id.ivLogo1));
          L.d(this, "TRANS: " + TransitionUtil.getTransitionNameBetLogo2(bet) + "|" + view.findViewById(R.id.ivLogo2));
          ft.addSharedElement(view.findViewById(R.id.ivLogo1), "1");//TransitionUtil.getTransitionNameBetLogo1(bet));
          ft.addSharedElement(view.findViewById(R.id.ivLogo2), "2");//TransitionUtil.getTransitionNameBetLogo2(bet));
      }
      ft.commit();
  }
  </code></pre>
  
  <p>My functions return unique names, I have two different views, but still it does not work.
  I already commented unnecessary functions out and wrote some unique transaction names in there by hand... But still, I get this exception, in the line of the first <code>addSharedElement</code>:</p>
  
  <pre><code>java.lang.IllegalArgumentException: Unique transitionNames are required for all sharedElements
          at android.support.v4.app.BackStackRecord.addSharedElement
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>Without the shared elements, everything is working perfectly fine...</p>