SimpleCursorAdapter is undefined?
<p>Below is the sample of code giving me grief. The simpleCursorAdapter works if I put it outside of the textchangedlistener but not in I keep getting the message</p>

<blockquote>
  <p>The constructor SimpleCursorAdapter(new TextWatcher(){}, int, Cursor, String, int, null) is undefined</p>
</blockquote>

<pre><code>txt.addTextChangedListener(new TextWatcher() {

            public void onTextChanged(CharSequence s, int start, int before, int count) {
                //onTextChanged
            }

            public void beforeTextChanged(CharSequence s, int start, int count, int after) {
                //beforeTextChanged

            }

            public void afterTextChanged(Editable s) {
                //afterTextChanged
                typedText = s.toString();

                Cursor cur = db.rawQuery("SELECT * FROM " +
                        DB_TABLE +" where field LIKE '%" + typedText + "%'" , null);
                String displayFields = "field";
                int displayViews = R.id.bmark_visits;
                setListAdapter(new SimpleCursorAdapter(this, 
                                R.layout.testlist, cur, 
                                displayFields, displayViews, null
                ));
            }
        });
</code></pre>
