title: why android uses inner classes so much?
body: <p>this is a general question. in all examples of android you find adapters, tasks or anything else as an inner class. Is that a best practice in android? </p>
  
  <p>I know that make it easier to handle ui changes, but on the other site that makes large files.</p>
  
  <p>Is there any rules in android where we could encapsulate those in seperate files or include it as an inner class?</p>
  
  <p>Thanks a lot.</p>