title: How to write clean code in Android?
body: <p>I am using Navigation drawer activity in which I am creating a List of Items(on Main Page). Now the code for Navigation drawer is pretty big. How do I add the code for creating a list in a separate class and add it to the onCreate() method of the drawer activity. I am asking this only for the sake of writing clean and presentable code.</p>