Why and When we need to create inner class in android
<p>I am new in android world. I am trying to learn it. I have a question about inner classes in android code. Why and when do we need to creat inner class. We can create an individual class and by creating its object we can access its methods. So why do we need to create inner class and when it is necessary to create as inner class. </p>

<p>One advantage which i know is that we cant extend more than one class. So by creating inner classes we can extend more classes. What else ??</p>

<p>//Shan</p>
