I have the following:
data = new Json().execute(URL).get();
System.out.println(data);
if (!data.isEmpty()) { //erro neste data.isEmpty
I have an error:
has an error: Call requires API level 9 (current min is 8): java.lang.String # isEmpty