title: Recyclerview video start and stop
body: <p>I am creating a recyclerview with multiple videoview in it. How can i play only one videoview at a time and stop the other videoview in the recyclerview.</p>
  
  <pre><code>PlayButton.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
  
              int PlayStopButtonState = (int) PlayButton.getTag();
  
              int previousPosition = mCurrentPlayingPosition;
              if (PlayStopButtonState == 1) {
  
                  mCurrentPlayingPosition = getAdapterPosition();
  
                  mVideoAudioCallbacks.onClick(100 + getAdapterPosition());
                  PlayButton.setImageResource(R.drawable.playstop);
                  PlayButton.setTag(2);
  
              } else {
                  mCurrentPlayingPosition = -1; // nothing wil be played after hitting stop
                  mVideoAudioCallbacks.onClick(200 + getAdapterPosition());
                  PlayButton.setImageResource(R.drawable.playarrow);
                  PlayButton.setTag(1);
              }
  
              if(previousPosition != -1)
                  notifyItemChanged(previousPosition);
  
          }
      });
  </code></pre>
  
  <p>when i click on video it plays fine. but when in click on other videoview in the list both start playing. i want only one must play at a time</p>