title: The constructor ArrayAdapter<String>(Context, int, MainActivity.ListViewItem[]) is undefined
body: <p>I am new in Android Programming. I was doing a sample on ListView with different type of rows. I created a CustomAdapter which is extended from  ArrayAdapter</p>
  
  <pre><code>public class CustomAdapter extends ArrayAdapter&lt;String&gt; {
      public static final int TYPE_ODD = 0;
      public static final int TYPE_EVEN = 1;
      public static final int TYPE_WHITE = 2;
      public static final int TYPE_BLACK = 3;
  
      private final Context context;
      private final int resource;
      private ListViewItem[] objects;
  
      public CustomAdapter(Context context, int resource, ListViewItem[] objects) {
          super(context, resource, objects);
          this.context = context;
          this.resource = resource;
          this.objects = objects;
      }
  </code></pre>
  
  <p>Eclipse shows super(context, resource, objects); line as error "The constructor ArrayAdapter(Context, int, MainActivity.ListViewItem[]) is undefined"</p>
  
  <p>I can't figure out why this is happening. Please help on this.</p>