I'm approaching completion of my first true App..
Along my road (in the past couple years) I've seen many examples of code.
One thing is consistent: I always see the use of static
context references such as:
this.getActivity(), and many other such references..
But earlier today, after asking how to retrieve Context from a Method within a Receiver,
I was told simply "pass it the Context", ex:
public void receiverMethodCall(Context context).
My Question is: If it's that simple, why do people frequently make repeated static context references inline within their code, over and over again, instead of simply passing the containing Method a
Context to begin with, and referring to it using "context" when needed?