textview textIsSelectable=“true” not working in Listview

后端 未结 3 1889
别跟我提以往
别跟我提以往 2021-01-18 15:09
 

        
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-18 15:41

    Remove android:descendantFocusability="blocksDescendants"​ in the recyclerview or listview to prevent the blocking of selection

    Also, change the textview layout width from match_parent to wrap_content to prevent the selectable text feature to be disabled when reusing the text cell.

提交回复
热议问题