title: Interaction with locked ViewHolder in RecyclerView using ItemTouchHelper
body: <p>I'm using a custom <code>ItemTouchListener</code> to make my items in a <code>RecyclerView</code> swipeable. The <code>ViewHolders</code> have a <code>RelativeLayout</code> so when I'm swiping them left a pair of <code>Buttons</code> appear. But now my problem is that my <code>Buttons</code> are not clickable at the first touch after the swipe. I need to click the <code>ViewHolder</code> 3 times so i can interact with it again (clicking buttons, edit textviews).</p>
  
  <p>In my custom <code>ItemTouchHelper</code> <code>onChildDraw</code> method I'm doing something like this to keep the <code>ViewHolder</code> at a specific position and make the buttons under the swipeable view visible:</p>
  
  <pre><code>if(dX &gt; itemView.getWidth() / 4){
      dX = itemView.getWidth() / 4;
  }
  ((CustomViewHolder) viewHolder).getSwipeAbleLayout().setTranslationX(dX);
  </code></pre>
  
  <p>It seems like the <code>ViewHolder</code> is still in swipe mode during the first two clicks. </p>
  
  <p>Or does someone have a better solution to lock a <code>ViewHolder</code> at a specific position while swiping so that buttons appear which can be clicked to either remove the <code>ViewHolder</code> or swipe the <code>ViewHolder</code> back to normal position?</p>