-2
Was ich will, ist in der Liste anzuzeigen ist der String, equals(London)
in:Wie kann ich JSON Listenansicht filtern
String location = respons.getString("location");
wenn es nach Manchester gleich, ich will es nicht in der Liste sein:
for (int i = 0; i < jsonArray.length(); i++) {
JSONObject respons =jsonArray.getJSONObject(i);
String id = respons.getString("id");
String location = respons.getString("location");
String info = respons.getString("name");
String img = respons.getString("img");
listitmes.add(new Listitme(id, location, info, img));
listAllItme();
}
vielen Dank, es hat funktioniert :) –
Sie sind willkommen. – SofDroid