Debugging the following Android code
<pre><code>public class Great_listviewActivity extends Activity {
EditText edittext;
ListView listview;
Button search;

String[] text = { "One", "Two", "Three", "Four", "Five", "Six", "Seven",
                                                "Eight", "Nine", "Ten" };

int[] image = { R.drawable.icon, R.drawable.icon, R.drawable.icon,
                                R.drawable.icon, R.drawable.icon, R.drawable.icon, R.drawable.icon,
                                R.drawable.icon, R.drawable.icon, R.drawable.icon };
int textlength = 0;

ArrayList&lt;String&gt; text_sort = new ArrayList&lt;String&gt;();
ArrayList&lt;Integer&gt; image_sort = new ArrayList&lt;Integer&gt;();


/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    search = (Button) findViewById(R.id.Button01);

    edittext = (EditText) findViewById(R.id.EditText01);
    listview = (ListView) findViewById(R.id.ListView01);

   listview.setAdapter((ListAdapter) new MyCustomAdapter(text, image));



    search.setOnClickListener(new OnClickListener()
    {

    public void onClick(View v)
    {

    textlength = edittext.getText().length();
    text_sort.clear();
    image_sort.clear();

   for (int i = 0; i &lt; text.length; i++)
    {
     if (textlength &lt;= text[i].length())
       {
        if (edittext.getText().toString().equalsIgnoreCase((String) text[i].subSequence(0, textlength)))
         {
         text_sort.add(text[i]);
       image_sort.add(image[i]);   }                            }
      }   //end of for loop

      listview.setAdapter(new MyCustomAdapter(text_sort, image_sort));
    }   //end of onClick
    });   //end of search click


                    }


class MyCustomAdapter extends BaseAdapter implements ListAdapter
{

String[] data_text;
int[] data_image;

MyCustomAdapter()
{

}

MyCustomAdapter(String[] text, int[] image)
{
data_text = text;
data_image = image;
}

MyCustomAdapter(ArrayList&lt;String&gt; text, ArrayList&lt;Integer&gt; image)
{
data_text = new String[text.size()];
data_image = new int[image.size()];

for (int i = 0; i &lt; text.size(); i++) {
    data_text[i] = text.get(i);
    data_image[i] = image.get(i);
  }

  }

 public int getCount()
{
 return data_text.length;}

public String getItem(int position)
{
return null;
}

 public long getItemId(int position)
{
 return position;
 }

 public View getView(int position, View convertView, ViewGroup parent)
{

LayoutInflater inflater = getLayoutInflater();
View row;

row = inflater.inflate(R.layout.listview, parent, false);

TextView textview = (TextView) row.findViewById(R.id.TextView01);
ImageView imageview = (ImageView) row.findViewById(R.id.ImageView01);

 textview.setText(data_text[position]);
imageview.setImageResource(data_image[position]);
return (row);
}
</code></pre>

<p><em><strong>It got tripped up at the line  listview.setAdapter((ListAdapter) new MyCustomAdapter(text, image));  It just says Source Not found. It leaves no clue of what could be wrong.</em></strong> </p>
