title: Show tooltip when fragment inside viewpager is visible to user
body: <p>I need execute a method when the fragment is visible (to the user). This method used for showing tooltip inside fragment.</p>
  
  <p>I've 1 activity has viewpager and menubar at bottom of layout to navigate a fragments. And also i disable swipe for viewpager.</p>
  
  <p>I need to call showTooltip() when fragment is visible or active . i've tried with on resume and setUserVisibleHint() but still not working. Tooltips not appear when viewpager move to visible page.</p>
  
  <pre><code>public void showTooltip(){
      Tooltip.make(getActivity(),
      new Tooltip.Builder(101)
      .anchor(gridSearch, Tooltip.Gravity.CENTER)
      .closePolicy(new Tooltip.ClosePolicy()
      .insidePolicy(true, false)
      .outsidePolicy(true, false), 3000)
      .activateDelay(1500)
      .showDelay(300)
      .text("Click to see all videos.")
      .maxWidth(500)
      .withArrow(true)
      .withOverlay(true)
      .floatingAnimation(Tooltip.AnimationBuilder.DEFAULT)
      .build()
       ).show();
  }
  </code></pre>