I'm trying to get HTML Page from list of link in my android app to generate Link Preview then need to display these preview in RecycleView. I used this Code to get HTML Page
Jsoup.connect(url).userAgent("Mozilla").get();
but these code is running jsut in AsyncTask.
when make for loop for each link in List we create new AsyncTask for each link request. that take too long time to finish it?
what the best way to do this with out take long time.