title: Non-Static Method cannot be called from Non-Static Method in Android Studio
body: <p>Of course I know that a <strong>Non-Static</strong> Method needs to be called from a <strong>Non-Static</strong> Context.</p>
  
  <p>And am I missing something when I think that</p>
  
  <pre><code>public void methodName(int i) { ... }
  </code></pre>
  
  <p>is <strong>Non-Static</strong> ?</p>
  
  <p>Because Android Studio 2.3.2 flaged it as a Static Context so I can't call the following statement from the Method </p>
  
  <p><a href="https://i.stack.imgur.com/QobJw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QobJw.jpg" alt="enter image description here"></a></p>
  
  <p>Method:</p>
  
  <pre><code>public void deleteCard(int id){
      for(int i = 0; i &lt; cards.size(); i++){
          if(cards.get(i).id == id){
              cards.remove(i);
              notifyItemRemoved(i);
              notifyItemRangeChanged(i, cards.size());
          }
      }
  }
  </code></pre>