1.在Adapter中创建方法,记录点击位置。 2.在ListView点击事件中,调用方法,把点击的position传给Adapter。 3.在Adapter的getView()方法中,进行判断,控制显示对应的颜色。