Similar Facebook reactions - Animated view with ObjectAnimator clicklistener not working
<p>I'm trying to animate a set of views vertically in an RecyclerView.Adapter, the animation works well using  android:clipChildren="false", android:clipToPadding="false" and  viewHolder.linear.postInvalidate(), but the ClickListener does not work after animation ends. I'm using ObjectAnimator because I read this link <a href="https://stackoverflow.com/questions/18333269/android-animation-button-stays-clickable">Android Animation - Button stays clickable</a></p>

<p><a href="https://i.stack.imgur.com/U5v0T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U5v0T.png" alt="enter image description here"></a></p>

<p>Some code</p>

<pre><code>    @Override
    public void onBindViewHolder(final TViewHolder viewHolder, int i) {

   viewHolder.flGroupButtons.postInvalidate();
   viewHolder.iv1.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
         //not working
      });
..... clicklisteners

   viewHolder.iv4.setOnClickListener(new View.OnClickListener() {

      PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1f);
        PropertyValuesHolder scaleY = PropertyValuesHolder.ofFloat("scaleY", 1f);
        PropertyValuesHolder pvTranslativ1 = PropertyValuesHolder.ofFloat("translationY", viewHolder.iv1.getY() - (measureHeight * 5));


     ObjectAnimator animatoriv1 = ObjectAnimator.ofPropertyValuesHolder(viewHolder.iv1, scaleX, scaleY, pvTranslativ1);
        animatoriv1.setInterpolator(new DecelerateInterpolator());
        animatoriv1.setDuration(300);

     ....
     ......
     AnimatorSet as = new AnimatorSet();
        as.playTogether(animatoriv1, animatoriv2, animatoriv3, animatoriv4);
        as.start();

});

}
</code></pre>

<p>Only iv1 clicklistener is working when is not collapsed.
How can I get it work?</p>