Getting recycle view childview
<p>I am using recycle view ,which has multiple input types. I would like to get the input types values been provided by the user on click of a button which I have out of Recycle view list. </p>

<p>Assume checklist adapter has 10 items and after 4th(i.e.,0,1,2,3) items I am finding no value so child view becomes null</p>

<pre><code> View childView;
    for (int i = 0; i &lt; checklistsAdapter.getItemCount(); i++) {
     RecyclerView.ViewHolder holder =
                        recyclerView.findViewHolderForLayoutPosition(i);

                childView = (View) recyclerView.getChildAt(holder.getLayoutPosition());
    }
</code></pre>

<p>I have also tried with adapter position.</p>

<p>How can I Solve this?</p>