[MODIFIED] StreamListe wird nun nach Aktualisierung nach online>offline sortiert.

This commit is contained in:
da
2015-11-30 17:00:22 +01:00
parent 5b2195650e
commit b315ba7598
5 changed files with 89 additions and 48 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ public class UserInfo {
try {
JSONObject followed = new JSONObject(userFollowData.get(i).toString());
JSONObject channel = new JSONObject(followed.get("channel").toString());
System.out.println(i+" "+channel.get("display_name").toString()); //remove this line if not needed anymore
names.add(channel.get("display_name").toString());
System.out.println(i+" "+channel.get("name").toString()); //remove this line if not needed anymore
names.add(channel.get("name").toString());
// TODO: bisher nur maximal 100 importieren wegen twitch api.
} catch (JSONException e) {
// workaround for stupid limit of jsonarrays of twitch's api.