public static String getNumberStr(Double num) {
if (num == null) {
return "";
}
final DecimalFormat n = new DecimalFormat("#.####################");
n.setDecimalFormatSymbols(new DecimalFormatSymbols(new Locale("EN")));
return n.format(num);
}
bool done = false;
do {
try {
doc = Jsoup.connect("http://"+generateUrl()[position]).get();
done = true;
} catch (IOException e) {
e.printStackTrace();
}
}
while(!done)
customAdapter.getFilter().filter()
if (CustomAdapter.subItems.size() == 0){