开发者

Links and on click in ListView?

开发者 https://www.devze.com 2023-01-07 01:08 出处:网络
i used android:autoLink=\"web\"开发者_运维问答 in textview inside a listView, the problem when the listview have a link, it looks like the android:autoLink=\"web\" override the on click function for t

i used android:autoLink="web"开发者_运维问答 in textview inside a listView, the problem when the listview have a link, it looks like the android:autoLink="web" override the on click function for that listview . What i need is to be able to click the link and able to click on the listview that contains the link .


use Linkify.addLinks(textView, Linkify.ALL);


its not solution for the problem but its different way to handle it in my App, when ever the user click to the ListView it will go to another activity that shows the text with the link and then the user can click their , this is what i found most of twitter feeds do, like Seesmic App on Android.

0

精彩评论

暂无评论...
验证码 换一张
取 消