title: Finding Tab position from another Fragment
body: <p>In my fragment_whatsHappening I have a tabbed viewPagerAdapter which displays the days of the week.
  (Today,Tue,Wed,Thu,Fri,Sat,Sun)
  Every tab will inflate fragment_schedules_view which contains a recyclerView displaying tasks to do on that day. 
  fragment_schedules_view.class contains the recyclerView</p>
  
  <pre><code>    ViewPager viewPager = (ViewPager)rootView.findViewById(R.id.schedulesPager);
      SchedulesViewPagerAdapter tabAdapter = new SchedulesViewPagerAdapter(getChildFragmentManager());
  
      // Add Fragments to adapter one by one
      tabAdapter.addFragment(new fragment_schedules_view(), "Today");
      tabAdapter.addFragment(new fragment_schedules_view(), "Tue");
      tabAdapter.addFragment(new fragment_schedules_view(), "Wed");
      tabAdapter.addFragment(new fragment_schedules_view(), "Thu");
      tabAdapter.addFragment(new fragment_schedules_view(), "Fri");
      tabAdapter.addFragment(new fragment_schedules_view(), "Sat");
      tabAdapter.addFragment(new fragment_schedules_view(), "Sun");
      viewPager.setAdapter(tabAdapter);
  
      TabLayout tabLayout = (TabLayout)rootView.findViewById(R.id.scheduleTabs);
      tabLayout.setupWithViewPager(viewPager);
  </code></pre>
  
  <p>In my fragment_schedules_view.class is there a way to get the tabAdapter position from the fragment_whatsHappening.class?</p>