android listview
<p>Hi guys i was looking at this code but im struggling to understand what the super keyword does , now i know it would call the superclass constructor but in this example there doesnt appear to  be a super class so im confused. 
So theres the customArray constructor and then its calling super but on what?</p>

<pre><code>public class customArray extends ArrayAdapter&lt;String&gt; {


 int resource;

 public customArray(Context cont, int _resource, List&lt;String&gt; items) {
      super(cont, _resource, items);
      resource = _resource;

 }

 @Override
 public View getView(int position, View convertView, ViewGroup parent) {
      RelativeLayout rl;

      String prod = getItem(position);
      if (convertView == null) {
           rl = new RelativeLayout(getContext());
           LayoutInflater vi = (LayoutInflater) getContext().getSystemService(
                     Context.LAYOUT_INFLATER_SERVICE);
           vi.inflate(resource, rl, true);
      } else {
           rl = (RelativeLayout) convertView;
      }
      TextView t1 = (TextView) rl.findViewById(R.id.text12);
      t1.setText(prod);
      final Button b1 = (Button) rl.findViewById(R.id.widget29);

      b1.setText("efwrf");

      if (position == 2) {

           b1.setOnClickListener(new View.OnClickListener() {
                public void onClick(View v) {


                Intent i = new Intent(this.class,Alarm.class);


                startActivity(i);

                //   Alarm al = new Alarm(); //
                     b1.setText("alarm set");



                }
           });

      }
</code></pre>
