见附件吧
工程里代码
public void onTouchingLetterChanged(String s) {
// TODO Auto-generated method stub
if (alphaIndexer(s) >= 0) {
int position = alphaIndexer(s);
personList.setSelection(position);
overlay.setText(s);
overlay.setVisibility(View.VISIBLE);
handler.removeCallbacks(overlayThread);
handler.postDelayed(overlayThread, 1500);
}
}
if (alphaIndexer(s) >= 0) {
工程里是>,需要改成>=。