title: The method findViewById(int) is undefined for the type
body: <p>I get the error </p>
  
  <blockquote>
    <p>The method findViewById(int) is undefined for the type PM_section</p>
  </blockquote>
  
  <p>when trying to implement my Expandable ListView. I am sure this is a common error, but I am having trouble finding a solution. I am attempting to learn fragments and such, and it has been an uphill battle ever since I started. I have done a fair bit of searching, and found a lot of results, that don't seem to help me in my case.</p>
  
  <p>If someone could give me any insight, or point me in the right direction I would greatly appreciate it.</p>
  
  <p>My small test class is below</p>
  
  <pre><code>public class PM_section extends Fragment {
  //  CustomExpListView custExpListView;
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          View V = inflater.inflate(R.layout.fragment_pm_section_test, container, false);
  
          CustomExpListView custExpListView = (CustomExpListView)
                  this.findViewById(R.id.ExpandableListView01);
          return V;   
      }// end on create
  }
  </code></pre>
  
  <p>The CustomExpListView class was pretty much copy, pasted from the Android Sample Projects, and is happy and has no problems. </p>
  
  <p>Thanks you for helping me out.</p>