title: cannot resolve symbol simple_list_item_1
body: <p>I'm trying to use resource file <code>simple_list_item_1</code> in my <code>ArrayAdapter</code>, but its showing an error</p>
  
  <blockquote>
    <p>Cannot resolve symbol simple_list_item_1</p>
  </blockquote>
  
  <p>Then i search and found out i need to use <code>android.R.layout.simple_list_item_1</code> but its showing an error again</p>
  
  <blockquote>
    <p>Cannot resolve constructor 'ArrayAdapter(android.support.v4.app.FragmentActivity, int,java.lang.String)'</p>
  </blockquote>
  
  <p>this is my code</p>
  
  <pre><code>@Override
  protected void onPostExecute(String lessonResponse) {
      Log.d("my_test", lessonResponse);
  
      try {
          JSONObject lessonObject = new JSONObject(lessonResponse);
  
          JSONArray lessonArray = lessonObject.getJSONArray("data");
  
          for (int i = 0; i &lt; lessonArray.length(); i++) {
  
              JSONObject dataLessons = lessonArray.getJSONObject(i);
  
              String jsonTitle = dataLessons.getString("lesson_title");
  
              ArrayAdapter&lt;String&gt; adapterTitle = new ArrayAdapter&lt;String&gt;(getActivity(), android.R.layout.simple_list_item_1, jsonTitle);
              lessonList.setAdapter(adapterTitle);
              Log.d("Lesson Title", " " + jsonTitle);
          }
  
      } catch (JSONException e) {
          e.printStackTrace();
      }
  
  }
  </code></pre>
  
  <p>import </p>
  
  <pre><code>import android.app.Activity;
  import android.content.Context;
  import android.net.ConnectivityManager;
  import android.net.NetworkInfo;
  import android.net.Uri;
  import android.os.AsyncTask;
  import android.os.Bundle;
  import android.support.v4.app.Fragment;
  import android.util.Log;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.ArrayAdapter;
  import android.widget.ListView;
  import android.widget.Toast;
  
  import org.json.JSONArray;
  import org.json.JSONException;
  import org.json.JSONObject;
  
  import java.io.BufferedReader;
  import java.io.IOException;
  import java.io.InputStreamReader;
  import java.net.HttpURLConnection;
  import java.net.URL;
  </code></pre>
  
  <p>screenshot link</p>
  
  <p><a href="http://prntscr.com/8j444e" rel="nofollow">http://prntscr.com/8j444e</a></p>
  
  <p><a href="http://prntscr.com/8j44dv" rel="nofollow">http://prntscr.com/8j44dv</a></p>
  
  <p>Please help... thank you..</p>