Code example for AlphabetIndexer

0
		IndexedCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) {
			super(context,layout,c,from,to,flags);
		} 
	} 
	private static final int LOADER_ID = 0x01;
	private final AlphabetIndexer indexer = new AlphabetIndexer(null,0,"ABCDEFGHIJKLMNOPQRSTUVWXYZ");
	private SimpleCursorAdapter adapter;
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		setEmptyText("No packages"); 
		setListShown(false); 
		getLoaderManager().initLoader(LOADER_ID,null,this);
		adapter = new IndexedCursorAdapter(
			getActivity().getApplicationContext(), 
			R.layout.package_list_item, 
			null, 
			new String[] {
				DatabaseOpenHelper.C_NAME, 
				DatabaseOpenHelper.C_INSTALLED, 
				"status",