title: How to get Context when you call a method in a different class?
body: <p>So basically, I have a method that requires a <code>Context</code> in order to perform several tasks.</p>
  
  <pre><code>public void openDatePicker() { Context c; }
  </code></pre>
  
  <p>I want to know, how to define a context of the method caller so I don't have to insert it as a parameter each time I call the method.</p>