title: findviewbyid returning null when trying to find NumberPicker in other fragment
body: <p>My code is huge on this project, so I will try and summarize what is happening to the best of my knowledge.  I have looked through forums and tried multiple routes at fixing this issue.  I'm hoping it's something obvious that I'm missing.</p>
  
  <p>I used the <code>tablayout</code> project that android studio creates during the new project wizard, 4 tabs (made each tab have it's own fragment).  </p>
  
  <p>On fragment 1 I have the <code>onclicklistener</code> trying to change the value of a <code>numberpicker</code> on fragment 2.  My problem is that my <code>findviewbyid</code> on the <code>numberpicker</code> keeps coming back null.  I have tried multiple formats for the <code>findviewbyid</code> and it keeps returning null.</p>
  
  <p>Basically I'm trying to access an object on another fragment and <code>findviewbyid</code> isn't finding that object.</p>
  
  <pre><code>otherpck = (NumberPicker) getActivity().findViewById(R.id.pckOther);
  otherpck.setValue(5);
  </code></pre>
  
  <p>If I run the above code in the <code>onclicklistener</code> for a button on fragment 1 trying to find <code>pckOther</code> on fragment 2 it sets <code>otherpck</code> to null.</p>
  
  <p>All fragments have been inflated.  I can click on all the tabs, then the button on fragment1 and still get null.</p>
  
  <p>Thanks in advance for an help given.</p>