@Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { this.inflater = inflater; View rootView = inflater.inflate(R.layout.acitivity_consumption_list, container, false); Handler_Inject.injectFragment(this, rootView); return rootView; }
@Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { this.inflater = inflater; // 出事化布局文件 View rootView = inflater.inflate(R.layout.reservation_conditions_room_main, container, false); // fragment注解必须走这里 Handler_Inject.injectFragment(this, rootView); return rootView; }
@Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // TODO Auto-generated method stub this.inflater = inflater; View rootView = inflater.inflate(R.layout.fragment_item_list, container, false); // fragment注解必须走这里 Handler_Inject.injectFragment(this, rootView); initNoPayExpandableListView(); return rootView; }
@Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { this.inflater = inflater; mView = inflater.inflate(R.layout.activity_horizontal_tab1, container, false); // fragment注解必须走这里 // mWholeBookLayout = (LinearLayout) mView.findViewById(R.id.yjqb_layout); // mWholeBookLayout.setOnClickListener(onClickListener); Handler_Inject.injectFragment(this, mView); return mView; }