title: Android - How to extend application class mid-project for LeakCanary
body: <p><strong>TLDR:</strong>
  <strong><em>I have to extend the application class but don't know where to start.</em></strong></p>
  
  <p>Ok... I know this is a dumb one but I have to ask it.</p>
  
  <p>I need to install <strong>LeakCanary</strong> and I see in their documentation that it requires me to put code in the Application Class.</p>
  
  <p>I understand how to make a java class that extends the application class, but I have some questions before I do this.</p>
  
  <p><strong>SITUATION:</strong></p>
  
  <ol>
  <li>I have 9 classes in my app already.</li>
  <li>The entry point to my app is MainActivity.class (figures, right?)</li>
  <li>I have not had to extend the Application Class yet.</li>
  <li>App name is "CST-ALERT"</li>
  </ol>
  
  <p><strong>QUESTIONS:</strong></p>
  
  <ol>
  <li>Do I just create a new Java class in my java source folder and name it the same as my overall
  package name? What do I name this new class?</li>
  <li>Do I need to adjust the manifest now to have this as the entry point
  instead of MainActivity? Which I imagine will change things quite a
  bit for me.</li>
  <li>Do I have to change anything else in the manifest? I assume I will
  at least have to declare it in there.</li>
  </ol>
  
  <p>Hopefully my situation and questions will give you an idea of what I am asking. </p>