谢谢
public Cursor swapCursor(Cursor c) { // Create our indexer if (c != null) { mIndexer = new AlphabetIndexer(c,c.getColumnIndex(Books.TITLE)," ABCDEFGHIJKLMNOPQRSTUVWXYZ"); } return super.swapCursor(c); }
一切都像@vsm所描述的一样.