textview textIsSelectable=“true” not working in Listview

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

        
3条回答
  •  星月不相逢
    2021-01-18 15:46

    In my case it wasn't working because I had textView in xml layout with android:visibility="gone" property and made it visible later in adapter code. So, you need call this after you makes textview visible

    textView.setTextIsSelectable(true); 
    

提交回复
热议问题