title: Should adapters in Android be static inner classes or non-static inner classes
body: <p>I have a ListView in an Activity and I am setting a custom adapter to the ListView.</p>
  
  <p>Should my adapter class be:</p>
  
  <pre><code>private static class MyAdapter extends ArrayAdapter 
  </code></pre>
  
  <p>or </p>
  
  <pre><code>private class MyAdapter extends ArrayAdapter
  </code></pre>
  
  <p>I guess it should make no difference as long as the adapter is enclosed within the activity reference but wanted to confirm that.</p>