title: getLayoutInflater() in fragment
body: <p>I'm trying to show my results search in a <code>ListView</code> on the <code>Fragment</code>, but it fails on:</p>
  
  <pre><code>LayoutInflater inflater = getLayoutInflater();
  </code></pre>
  
  <blockquote>
    <p>The method getLayoutInflater(Bundle) in the type Fragment is not
    applicable for the arguments ()</p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent)
    {
     LayoutInflater inflater = getLayoutInflater();
     View row;
  
     row = inflater.inflate(R.layout.list_single, parent, false);
  
     TextView textview = (TextView) row.findViewById(R.id.TextView01);
     ImageView imageview = (ImageView) row
       .findViewById(R.id.ImageView01);
  
     textview.setText(data_text[position]);
     imageview.setImageResource(data_image[position]);
  
     return (row);
  
    }
  </code></pre>
  
  <p>How can I fix this?</p>