title: Why does Android prefer static classes
body: <p>I see a lot of java code where android prefers to have developers use static inner classes. Particularly for patterns like the <a href="http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List14.html" rel="noreferrer" title="ViewHolder Pattern">ViewHolder Pattern</a> in custom ListAdapters.</p>
  
  <p>I'm not sure what the differences are between static and non-static classes. I've read about it but it doesn't seem to make sense when concerned with performance or memory-footprint.</p>