title: how to scroll to next item by clicking on a checkbox in each item (recyclerview)
body: <p>Forgive me for my English.</p>
  
  <p>My list contains 100 items. Each item consists of two checkboxes and I want to scroll to the next item each time a checkbox is clicked.</p>
  
  <p>please give me the best answer link If this question has already been answered</p>
  
  <p>this is my custom adapter</p>
  
  <pre><code> public class CustomAdapter extends 
         RecyclerView.Adapter&lt;CustomAdapter.MyViewHolder&gt; {
  
  private ArrayList answerFirst;
  private ArrayList answerSecond;
  private Context context;
  
  public CustomAdapter(Context  context, ArrayList questionList, ArrayList 
  answerFirst, ArrayList answerSecond) {
      this.context = context;
      this.answerFirst = answerFirst;
      this.answerSecond = answerSecond;
  }
  
  @Override
  public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
          View v = 
      LayoutInflater.from(parent.getContext()).inflate(R.layout.test_items, 
      parent, false);
      return new MyViewHolder(v);
  }
  
  @Override
  public void onBindViewHolder(final MyViewHolder holder, final int position) 
      {
  
          holder.firstanswer.setText(answerFirst.get(position).toString());
          holder.secondanswer.setText(answerSecond.get(position).toString());
      }
  
  @Override
  public int getItemCount() {
      return questionList.size();
  }
  
  public class MyViewHolder extends RecyclerView.ViewHolder {
      TextView question;
      CheckBox firstanswer;
      CheckBox secondanswer;
      public MyViewHolder(View itemView) {
          super(itemView);
          question = (TextView) itemView.findViewById(R.id.question_text);
          firstanswer = (CheckBox) itemView.findViewById(R.id.first_answer);
          secondanswer = (CheckBox) itemView.findViewById(R.id.second_answer);
               }
          }
     }
  </code></pre>
  
  <p>this is the main activity</p>
  
  <pre><code> @Override
   protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_start_test);
  
      final RecyclerView recyclerView = (RecyclerView) 
      findViewById(R.id.recyclerView_test);
      final LinearLayoutManager linearLayoutManager = new LinearLayoutManager(getApplicationContext());
      recyclerView.setLayoutManager(linearLayoutManager); 
  
      final CustomAdapter customAdapter = new CustomAdapter(mainActivity.this, answerFirst,answerSecond);
      recyclerView.setAdapter(customAdapter);
  }
  </code></pre>