Android - Use cases of Context in Android Development (Fragment, etc) : In the time I have spent learning Android Development, I have realized that the use of "Context" is a common theme in nearly everything we do.<br>
I recently read the following Article, and all of it's references: [What is it about Context](http://lomza.totem-soft.com/what-is-it-about-context-in-android/)?<br>
<br>
In addition to this being an informative resource regarding Context, I had an additional question, based on something it states..<br>
It says (and I quote): `(6) When in fragment, assign a context to the one from onAttach(Context context) method`<br>
<br>
**QUESTION (1) :** I am currently trying to adjust some Preferences using the `Preferencec-API` from within a `PreferenceFragment`.. In terms of `Context`, how should I go about this?<br>
**NOTE :** I am doing this from within `onPreferenceChangedListener`.<br>
<br>
**QUESTION (2) :** Is there a simple answer, or must I follow the instructions from the Quote I provided from the Link? And if so, how would I go about doing this, as my PreferenceFragment does not have any `onAttach` Method?<br>
<br>
**Many thanks in advance!**
 

