2011-12-25 106 views

回答

0

我試圖重寫:

@Override 
public void onAttach(Activity activity) { 
    // TODO Auto-generated method stub 
    super.onAttach(activity); 
} 

,我應該有覆蓋:

@Override 
public void onAttach(SupportActivity activity) { 
    // TODO Auto-generated method stub 
    super.onAttach(activity); 
} 

請注意:第一種方法的「活動」和第二種方法的「SupportActivity」..