title: Access Activity Variables in Fragment
body: <p>If i have an Activity A which extends a base activity BA then i am able to safely access any variable in activity BA from activity A.What i am using now contains an activity A which includes a fragment F.
  Now from this fragment i want to access all variables of A in the same manner,just like i did above and if not is there a safe way of doing it other than making it available through public methods.</p>
  
  <p>Or is there a way i can copy over the variables in the base activity to a base fragment so its available in all activities and fragments.</p>