title: Calling the constructor containing the list
body: <p>This is my class having construtor as:</p>
  
  <pre><code>  public class CustomExpandableListAdapter extends BaseExpandableListAdapter {
  
      private final List&lt;ExpandableListItem&gt; expandableListItemList;
      private Context context;
      private String expandableListTitile;
      private ArrayList&lt;String&gt; expandableListDetail;
  
  public CustomExpandableListAdapter(Context context, List&lt;ExpandableListItem&gt; expandableListItemList) {
      this.context = context;
      this.expandableListItemList = expandableListItemList;
  
  }}
  </code></pre>
  
  <p>I have called it on another class as:</p>
  
  <pre><code>CustomExpandableListAdapter expandableListadapter;
  </code></pre>
  
  <p>and Oncreate i have initialized it as:</p>
  
  <pre><code>expandableListAdapter = new CustomExpandableListAdapter(this, expandableListDetail);
  </code></pre>
  
  <p>This is my expandablelist item class</p>
  
  <pre><code>public class ExpandableListItem {
      public static final int CHILD_TYPE_EDITTEXT = 0;
      public static final int CHILD_TYPE_TEXT_FIELD = 1;
      public static final int CHILD_TYPE_RADIO_BUTTON = 2;
      public static final int CHILD_TYPE_CHECKBOX = 3;
  
      private List&lt;String&gt; childLabels;
      private String title;
      private int selectionType;
  
      public List&lt;String&gt; getChildLabels() {
          return childLabels;
      }
  
      public void setChildLabels(List&lt;String&gt; childLabels) {
          this.childLabels = childLabels;
      }
  
      public String getTitle() {
          return title;
      }
  
      public void setTitle(String title) {
          this.title = title;
      }
  
      public int getSelectionType() {
          return selectionType;
      }
  
      public void setSelectionType(int selectionType) {
          this.selectionType = selectionType;
      }
  }
  </code></pre>
  
  <p>But i am unable to call the constructor. Please help it out.</p>