title: Send callback from activity to fragment
body: <p>I have a <strong>view pager</strong> in my Activity. This pager loads 2 fragments (Fragment1 and Fragment2).
  My Activity have a button for fetching data from server as a list of my pojo class.
  Fragment1 and Fragment2 contains recyclerView.</p>
  
  <p>My question is How do I refresh Fragment1's recyclerView adapter (from my Activity) when information is fetched in my Activity?</p>
  
  <p>I created an interface in my Activity:</p>
  
  <pre><code>    public interface IloadCallBack {
      void onLoadAdapter(List&lt;Suser&gt; userList);
  }
  </code></pre>
  
  <p>and I have created a setter for this:</p>
  
  <pre><code>    public void setIloadCallBack(IloadCallBack iloadCallBack) {
      this.iloadCallBack = iloadCallBack;
  }
  </code></pre>
  
  <p>and init it:</p>
  
  <pre><code>iloadCallBack.onLoadAdapter(susers);
  </code></pre>
  
  <p>Now, I have make a reference of activity into my fragment but I think this is wrong!! yes? what can i do?</p>