title: Android: getLayoutInflater() problem
body: <p>I have the following lines in my code:</p>
  
  <pre><code>View convertView;
  convertView = getLayoutInflater().inflate(R.layout.classheader, parent, false);
  </code></pre>
  
  <p>And I have a "classheader.xml" in the layout folder.</p>
  
  <p>However; I get this error: "classheader cannot be resolved or is not a field".</p>
  
  <p>Can anybody please help me to find out what is the reason for this error?</p>
  
  <p>Thanks  </p>