do save instance in my FragmentActivity :   

*in my FragmentActivity i have a recycleView i want do save instance in my Activity because i have a tabLayout with View pager look in the picutre*


    
  This the image of my  application


[enter image description here][1]
  [1]: https://i.stack.imgur.com/XGsit.png
 this is my code:
-------------------

       public class Menu1Fragment extends Fragment {
            recycleAdapter imp_listArrayAdapter;
            public static ArrayList<String> arrayList = new ArrayList<String>();
       
            public Menu1Fragment() {
            }
        
            @Override
            public void onCreate(@Nullable Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
            }
        
            public View onCreateView(LayoutInflater inflater, ViewGroup container,
                                     Bundle savedInstanceState) {
                View rootView = inflater.inflate(R.layout.list_item, container, false);
                //if (savedInstanceState != null) {
                //Restore the fragment's state here
                //  }
                //
        
                Boolean a = false;
        
        
                ArrayList<imp_list> impLists = new ArrayList<imp_list>();
                impLists.add(new imp_list("Make a Banana", "3000", R.drawable.makabananasplit, a));
                impLists.add(new imp_list("Abdeys Apple Sizzler", "2000", R.drawable.abbeys, a));
                impLists.add(new imp_list("Cheese Cake", "1000", R.drawable.cheesecake, a));
                impLists.add(new imp_list("Choise Of Ice_Cream", "1500", R.drawable.icecream, a));
                impLists.add(new imp_list("Daeth By Chocolate", "3000", R.drawable.deathbychocolate, a));
                impLists.add(new imp_list("Make a Banana", "3000", R.drawable.makabananasplit, a));
                impLists.add(new imp_list("Abdeys Apple Sizzler", "2000", R.drawable.abbeys, a));
                impLists.add(new imp_list("Cheese Cake", "1000", R.drawable.cheesecake, a));
                impLists.add(new imp_list("Choise Of Ice_Cream", "1500", R.drawable.icecream, a));
                impLists.add(new imp_list("Daeth By Chocolate", "3000", R.drawable.deathbychocolate, a));
                impLists.add(new imp_list("Make a Banana", "3000", R.drawable.makabananasplit, a));
                impLists.add(new imp_list("Abdeys Apple Sizzler", "2000", R.drawable.abbeys, a));
                impLists.add(new imp_list("Cheese Cake", "1000", R.drawable.cheesecake, a));
                impLists.add(new imp_list("Choise Of Ice_Cream", "1500", R.drawable.icecream, a));
                impLists.add(new imp_list("Daeth By Chocolate", "3000", R.drawable.deathbychocolate, a));
        
        
                imp_listArrayAdapter = new recycleAdapter(getActivity(), impLists);
                RecyclerView recyclerView = (RecyclerView) rootView.findViewById(R.id.res_id);
                recyclerView.setAdapter(imp_listArrayAdapter);
                recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
                arrayList = imp_listArrayAdapter.stringArrayList;
        
        
                return rootView;
        
            }


