휴..계속 검색 하고 질문하는데 답변을 못받고 있습니다.ㅠㅠㅠ

도와주세요 ㅠㅠㅠ

열심히 검색한 결과 아래와 같이 getChildView안에 inflate를 하는 방법을 찾았는데요..

이걸 제 소스에 적용하려니 잘 안되서요..

@Override
public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
           
View convertView, ViewGroup parent) {

       
View v = mInflater.inflate(R.layout.expander_child, null);

       
Button button = (Button)v.findViewById(R.id.expand_child_button);
        button
.setOnClickListener(new OnClickListener() {

           
@Override
           
public void onClick(View v) {
               
Toast.makeText(ExpandableList1.this, "button pushed", Toast.LENGTH_SHORT).show();
           
}
       
});        
       
return v;
   
}


------------------------------------------------------------------------------------

class PageDetailChildAdapter extends BaseExpandableListAdapter {


 @Override

    public View getChildView(

            final int group,

            final int child,

            final boolean lastChild,

            final View reuse,

            final ViewGroup parent) {


 LayoutInflater mInflater;

        View v = mInflater.inflate(R.layout.page_detailchild, null);


위와 같이 mInflater부분이 에러가 나요ㅠㅠㅠㅠ
이거 왜이런건가요ㅠㅠ어떻게 해야하나요 ㅠㅠ 도와주세요 ㅠㅠㅠ
}
}