title: Passing calling activity to pager adapter
body: <p>Trying to send calling activity to pager adapter in order for these two lines to work in the pager adapter: </p>
  
  <pre><code>((AppCompatActivity) callingActivity).setSupportActionBar(toolbar);
  
  ((AppCompatActivity)callingActivity).getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  </code></pre>
  
  <p>(note using pager adapter not fragment pager adapter).</p>