title: How to animate an item in the ViewPager after PagerTransform animation?
body: <p>I am working with viewpager transformer. I am able add a transition effect using transformPage() method. The below given is my pager.</p>
  
  <pre><code>final ViewPager pager = (ViewPager) localView
              .findViewById(R.id.pager);
  pager.setAdapter(new my_adapter());
  pager.setPageTransformer(true, new PageTransformer() {
  
          @Override
          public void transformPage(View view, float position) {
  
              int pageWidth = view.getWidth();
  
              if (position &lt; -1) { // [-Infinity,-1)
                  // This page is way off-screen to the left.
                  view.setAlpha(1);
              } else if (position &lt;= 1) { // [-1,1]
                  View dummyImageView = view.findViewById(R.id.tourImage);
                  dummyImageView.setTranslationX(-position
                              * (pageWidth / 2)); // Half
                  View imageBottom = view
                              .findViewById(R.id.tour_bottom_image);
                  imageBottom.setTranslationX(-position
                              * (pageWidth / 10)); // Half speed
              } else { // (1,+Infinity]
                  // This page is way off-screen to the right.
                  view.setAlpha(1);
  
              }
          }
      });
  </code></pre>
  
  <p>And this is my adapter,</p>
  
  <pre><code>private class my_adapter extends PagerAdapter {
  
      @Override
      public int getCount() {
          return num_pages;
      }
  
      @Override
      public boolean isViewFromObject(View view, Object o) {
          return view == o;
      }
  
      @Override
      public void destroyItem(ViewGroup container, int position, Object object) {
          container.removeView((View) object);
      }
  
      @Override
      public Object instantiateItem(ViewGroup container, int position) {
          View new_view = null;
          LayoutInflater inflater = getActivity().getLayoutInflater();
          new_view = inflater.inflate(R.layout.tour_page_one, null);
          TextView tvTourDesc = (TextView) new_view
                      .findViewById(R.id.tourDesc);
          ImageView imageTour = (ImageView) new_view
                      .findViewById(R.id.tourImage);
          ImageView imageBottomTour = (ImageView) new_view
                      .findViewById(R.id.tour_bottom_image);
  
          container.addView(new_view);
          return new_view;
      }
  }
  </code></pre>
  
  <p>What I am trying to do is animate an item in the adapter, for instance imageTour imageView,once the transition animation is finished.  When I add any animation it starts along with the pager transform animation. I want to animate it always after the transition animation. I tried using onPageChangeListener with the pager but it doesn't return any view other than the currentPage number so that i can add animation to imageTour(imageView).</p>