Android Extendable ListView Child Click
<p>At the moment I have this code running. I am working in eclipse and at the moment am getting this error</p>

<blockquote>
  <p>The method getItem(int) is undefined for the type Expandable.MySimpleCursorTreeAdapter</p>
</blockquote>

<pre><code>        public boolean onChildClick(ExpandableListView parent, View v, int groupPosition,
            int childPosition, long id) {
        // use groupPosition and childPosition to locate the current item in the adapter

            Intent intent = new Intent(Categories.this, com.random.max.Random.class);
            Cursor cursor = (Cursor) mscta.getItem(childPosition);
            intent.putExtra("EMPLOYEE_ID", cursor.getInt(cursor.getColumnIndex("_id")));
            //Cursor cursor = (Cursor) adapter.getItem(position);
            //intent.putExtra("EMPLOYEE_ID", cursor.getInt(cursor.getColumnIndex("_id")));
            startActivity(intent);

        return true;
    }
</code></pre>
