Template for custom adapter for listview in Android