title: How can I set values of switcher in all fragments of a viewpager, by changes one switch in MainActivity
body: <p>I am developing one android application and it has a tab layout with ViewPager setup. I have totally 8 fragments in the viewpager. Each Fragment holding an RecyclerView. The recyclerview row has one text one switcher and one icon for rename text.</p>
  <p>Whenever the activity started it loads 8 fragments with recyclerview data. I have a switcher in the MainActivity, whenever the MainActivity switcher it changes I need to switch all the switches from all 8 fragments and I want to save all in Lists and to send them in server.</p>