Save information in Graph Request response
<p>Good Day,</p>

<p>I would like to save the information in a <code>List&lt;String&gt;</code> the values that I get from <code>Graph Request</code> but when I return the <code>list</code>, its empty. Can someone help me why?</p>

<pre><code>    private List&lt;String&gt; getFriends(AccessToken accessToken) {
     List&lt;String&gt; friendsName = new ArrayList&lt;String&gt;();
    GraphRequest requestt =
            new GraphRequest(
                    accessToken,
                    "/me/taggable_friends",
                    null,
                    HttpMethod.GET,
                    new GraphRequest.Callback() {
                      public void onCompleted(GraphResponse response) {
                        JSONObject obj = response.getJSONObject();
                        JSONArray arr;
                        try {
                          arr = obj.getJSONArray("data");
                            for (int l=0; l &lt; arr.length(); l++) {
                                JSONObject oneByOne = arr.getJSONObject(l);
                                System.out.println(oneByOne.opt("name").toString());
                                friendsName.add(oneByOne.opt("name").toString()); 

                            }
                        } catch (JSONException e) {
                          e.printStackTrace();
                        }
                      }
                    }
            );

    Bundle parameters = new Bundle();
    parameters.putString("fields", "name");
    requestt.setParameters(parameters);
    requestt.executeAsync();
     return friends;
  }
</code></pre>