title: How to access ViewHolder in RecyclerView with regards to layout calculation
body: <p>I have created a <code>RecyclerView</code> and have set the proper adapter and <code>LinearLayoutManager</code>. I'm able to access my <code>ViewHolder</code>s just fine outside of the <code>onCreate</code> method. During my research of the problem, it appears that in order to access a <code>ViewHolder</code>, the <code>LinearLayoutManager</code> must finish calculating the positions of the views before you're able to use either the <code>findViewHolderForAdapterPosition</code> or <code>findViewHolderForLayoutPosition</code> methods.</p>
  
  <p>I would like to modify only one of the views inside of the many viewholders I add to the <code>RecyclerView</code>. </p>
  
  <p>I'm currently attempting (and failing) at accessing the views/viewholders in any of the <code>Activity</code> life cycle methods (<code>onCreate</code>, <code>onStart</code>, <code>onResume</code>). I see that <code>LinearLayoutManager</code> has a <code>onLayoutCompleted</code> method, but am unsure how to make use of that for my situation.</p>
  
  <p>Is there anyway to gain access to either the views or the viewholders inside the <code>RecyclerView</code> during one of the <code>Activity</code> life cycles or somehow figure out when <code>onLayoutCompleted</code> is called by the <code>LinearLayoutManager</code>? Is there another way around this?</p>
  
  <p>Theoretically I could add all the viewholders into a list inside the adapter and access it that way, but that doesn't seem quite so clean.</p>