I'm getting all the links from a web page and displaying them in a listView box. How do I prevent duplicates? I know how to block some links that I don't want by using the StartsWith and Equals and those functions. Do I do something with those or is there more to it?
Well, if you scan over the website content and find the link.
Check if the link in the arraylist or not with arraylist.contain().
If sastify, you can add that link to an arraylist.