Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i want all words in list is clickable i use spanable string but spanable string draw underline in word and im not this
please help me
Posted

1 solution

Hi,
First, Spannable String is used to Format strings.
If you want a Custom ListView, then use a Custom Adapter to inflate your list.
Then add an OnClickListener of any item on the ListView layout.
I prefer the Custom Adapter to extend the ArrayAdapter class.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900