ListView无障碍识别整个listView,不识别item,设置了setContentDescription也没实用

点击ListView的时候。无障碍识别到的是整个listView,不会读点击的那个item。

解决的方法是在getView里手动设置:


<span style="font-size:18px;">convertView.setFocusable(true);

convertView.setFocusableInTouchMode(true);</span>


这样就会读item里的值

原文地址:https://www.cnblogs.com/liguangsunls/p/6878753.html