标签:
<fragment
android:id="@+id/search_fragment"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
class="com.mediatek.dialer.dialersearch.SmartDialSearchFragmentEx" />
使用
mSearchFragment = (SmartDialSearchFragmentEx) getChildFragmentManager().findFragmentById(
548 R.id.search_fragment);
549 mSearchFragment.setOnPhoneNumberPickerActionListener(
550 new MyPhoneNumberPickerActionListener());
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) {
}
正常
public void onCreate(Bundle state) {}
报错
标签:
原文地址:http://www.cnblogs.com/zhangshuli-1989/p/4821370.html