title: List View will not inflate
body: <p>Please help, I am trying to retrieve a list of friends from FaceBook that also use an app.  I am getting the list and the Data is showing up, but my adapter does not inflate the list view.  All the id's are correct, and Log tags show me what I need, but the view will not inflate.  Here is the relevant code: </p>
  
  <p>View Adapter:</p>
  
  <pre><code>package com.example.sca.ihavebeen;
  
  import android.content.Context;
  import android.util.Log;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.Adapter;
  import android.widget.ArrayAdapter;
  import android.widget.ImageView;
  import android.widget.TextView;
  
  import org.json.JSONArray;
  
  import java.util.ArrayList;
  import java.util.List;
  
  /**
   * Created by Tom Schinler on 9/10/2015.
   */
  public class FriendsViewAdapter extends ArrayAdapter&lt;FaceBookFriends&gt; {
      public FriendsViewAdapter(Context context, JSONArray friends) {
          super(context,0);
      }
  
      @Override
      public View getView(int position, View convertView, ViewGroup parent){
          FaceBookFriends friend = getItem(position);
  
          if (convertView == null) {
              convertView = LayoutInflater.from(getContext()).inflate(R.layout.fb_friends_layout, parent);
          }
          TextView fbName = (TextView)convertView.findViewById(R.id.fbName);
          ImageView fbPic = (ImageView)convertView.findViewById(R.id.fbPic); // Not yet ready to handle this
          fbName.setText(friend.name);
  
  
          return convertView;
      }
  }
  </code></pre>
  
  <p>Here is the view the list should inflate on:</p>
  
  <pre><code>package com.example.sca.ihavebeen;
  
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.util.Log;
  import android.widget.ListView;
  
  import com.facebook.AccessToken;
  import com.facebook.GraphRequest;
  import com.facebook.GraphResponse;
  
  import org.json.JSONArray;
  import org.json.JSONException;
  import org.json.JSONObject;
  
  import java.util.ArrayList;
  
  public class GameStart extends AppCompatActivity {
  
      JSONArray mArrayofFriends;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_game_start);
  
  
  
          mArrayofFriends = FaceBookFriends.getFriendsList();
  
  
          Log.v("maybe ", String.valueOf(mArrayofFriends));
  
          populateFbFriendsList();
  
      }
  
      private void populateFbFriendsList() {
  
          FriendsViewAdapter adapter = new FriendsViewAdapter(this, mArrayofFriends);
  
          ListView listView = (ListView) findViewById(R.id.fbFriendsListView);
          listView.setAdapter(adapter);
      }
  
  
  
  
  }
  </code></pre>
  
  <p>and just for kicks, here is the class calling the Graph Response:</p>
  
  <pre><code>package com.example.sca.ihavebeen;
  
  import android.util.Log;
  
  import com.facebook.AccessToken;
  import com.facebook.GraphRequest;
  import com.facebook.GraphResponse;
  
  import org.json.JSONArray;
  
  /**
   * Created by Tom Schinler on 8/4/2015.
   */
  public class FaceBookFriends {
  
  
  
  
      public static JSONArray mFriendsList;
      public String name;
      public String id;
  
  
  
  
      public static JSONArray getFaceBookFriends() {
          AccessToken accessToken = AccessToken.getCurrentAccessToken();
          GraphRequest request = GraphRequest.newMyFriendsRequest(
                  accessToken,
                  new GraphRequest.GraphJSONArrayCallback() {
                      @Override
                      public void onCompleted(JSONArray array, GraphResponse response) {
                          // Insert your code here
  
                          mFriendsList = array;
                          Log.v("Array: ", String.valueOf(mFriendsList));
                          Log.v("Facebook response: ", String.valueOf(response));
  
                      }
                  });
  
          request.executeAsync();
  
  
  
  
          return mFriendsList;
  
      }
  
      public static JSONArray getFriendsList() {
          return mFriendsList;
      }
  
      public FaceBookFriends(String name, String id){
          this.name = name;
          this.id = id;
      }
  
  }
  </code></pre>
  
  <p>Please help me figure out this issue!</p>