title: Cannot resolve method setListAdapter
body: <p>I try to show listView in fragment. But method setListAdapter - is not resolved.
  I think, that i must to get id of listView (android.R.id.list);
  and then : lv.setAdapter(mAdapter);but its dont work too.</p>
  
  <pre><code>public class MyEmployeeFragment extends Fragment {
  
      private CustomAdapter sAdapter;
      private List&lt;User&gt; userList;
      ProgressDialog mProgressDialog;
  
  
  
      @Override
      public void onActivityCreated(Bundle savedInstanceState) {
          super.onActivityCreated(savedInstanceState);
  
          setHasOptionsMenu(true);
          userList = new ArrayList&lt;User&gt;();
          sAdapter = new CustomAdapter(getActivity(),userList);
          setListAdapter(sAdapter);
          new CustomAsync().execute();
  
      }
  
      private class CustomAdapter extends ArrayAdapter&lt;User&gt; {
          private LayoutInflater inflater;
  
          public CustomAdapter(Context context, List&lt;User&gt; objects) {
              super(context, 0, objects);
              inflater = LayoutInflater.from(context);
          }
  
          class ViewHolder {
              TextView id;
              TextView name;
              TextView lastName;
          }
  
  
          @Override
          public View getView(int position, View convertView, ViewGroup parent) {
  
              ViewHolder vH;
              if (convertView == null) {
                  convertView = inflater.inflate(R.layout.list_item_employee, null);
                  vH = new ViewHolder();
                  vH.id = (TextView) convertView.findViewById(R.id.tv_employee_id);
                  vH.name = (TextView) convertView.findViewById(R.id.tv_employee_name);
                  vH.lastName = (TextView) convertView.findViewById(R.id.tv_employee_last_name);
                  convertView.setTag(vH);
              } else
                  vH = (ViewHolder) convertView.getTag();
  
  
              final User user = getItem(position);
              vH.id.setText(user.getId());
              vH.name.setText(user.getName());
              vH.lastName.setText(user.getLastName());
  
  
              return convertView;
          }
      }
  
      private class CustomAsync extends AsyncTask&lt;Void,Void,List&lt;User&gt;&gt;
      {}
  }
  </code></pre>
  
  <p>XML</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="horizontal" &gt;
  
      &lt;ListView
          android:id="@android:id/list"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:divider="#B7B7B7"
  
          /&gt;
  
      &lt;ProgressBar
          style="?android:attr/progressBarStyleLarge"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/progressBar2"
          android:layout_gravity="center_vertical"
          android:layout_weight="1"
          android:layout_centerVertical="true"
          android:layout_centerHorizontal="true" /&gt;
  
      &lt;TextView
          android:id="@id/android:empty"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:text="@string/empty"
          android:layout_above="@+id/progressBar2"
          android:layout_alignRight="@+id/progressBar2"
          android:layout_alignEnd="@+id/progressBar2"
          android:layout_marginBottom="83dp"&gt;
      &lt;/TextView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>