Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < results.length(); i++) {
- ArrayList<String> thisTrailer = new ArrayList<>();
- JSONObject currentTrailer = results.getJSONObject(i);
- String key = currentTrailer.getString("key");
- String title = currentTrailer.getString("name");
- thisTrailer.add(key);
- thisTrailer.add(title);
- trailerData.add(thisTrailer);
Add Comment
Please, Sign In to add comment