I have the following problem. Parsing an html table, using JSoup, splits the table into rows, and then each row into columns. After that, you clear the tags and simply enter the text in the ArrayList . Then with the help of the adapter, fill the GridView in the form of a table.

The problem is that everything works when Api lvl> 19, otherwise I pull out either question marks or empty lines.

Actually the parser code itself:

 Document verb = Jsoup.connect("http://passare.ru/ajax_socket.php?func=ru_verb2_forms&text=" + nWord).get(); Element tableVerb = verb.select("table").first(); Elements rowsVerb = tableVerb.select("tr"); for (int i = 0; i < rowsVerb.size(); i++) { Element row = rowsVerb.get(i); Elements cols = row.select("td"); for (Element e: cols){ list.add(e.text().toString()); } } } 
  • There are no errors in the logs ... - Anonim
  • maybe this is what you were looking for at stackoverflow.com/a/7716688/2667883 and look at stackoverflow.com/a/12466923/2667883 again - Chaynik
  • @Chaynik Please try to publish detailed answers containing a specific example of the minimum solution, supplementing them with a link to the source. Answers –references (like comments) do not add knowledge to Runet. - Nicolas Chabanovsky

0