I have got a database. E. g., it contains two tables: Departments and Employees. There are a lot of items in both tables. The data will be populated to `ExpandableListView`. Now I use a custom adapter extending `CursorTreeAdapter`. The situation is good enough but sometimes it works slower than I'd like. Does the performance depend on a type of adapter? If so, which of the adapters is better?

**Code.**

```
private class MyAdapter extends CursorTreeAdapter implements OnClickListener {

    public MyAdapter(Cursor cursor, Context context) {
        super(cursor, context);
        // TODO Auto-generated constructor stub
    }

    @Override
    public void onClick(View v) {
        // TODO Auto-generated method stub

    }

    @Override
    protected Cursor getChildrenCursor(Cursor groupCursor) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    protected View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    protected void bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) {
        // TODO Auto-generated method stub

    }

    @Override
    protected View newChildView(Context context, Cursor cursor, boolean isLastChild, ViewGroup parent) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    protected void bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) {
        // TODO Auto-generated method stub

    }

}

```