title: How to implement an interface on a NavigationDrawerActivity?
body: <p>I am currently implementing an interface in a blank activity without any problem but then when I  have to shift to another activity, for example an activity that already implements something like a navigational drawer I am confused as to how to implement my interface. for example for the interface below</p>
  
  <pre><code>public interface TabsListener {
      void onTabAdded();
      void onTabRemoved();
  }
  </code></pre>
  
  <p>I would implement it this way on a blank activity </p>
  
  <pre><code>public class MainActivity extends AppCompatActivity implements TabsListener {
  </code></pre>
  
  <p>but then again for an Navigation drawer activity which already implements a Listener do I have to include my interface as a sub class or can it be done from the main method ?</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigatioinItemSelectedListener {}
  </code></pre>