Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void onAttach(Context context) {
- super.onAttach(context);
- Log.e("ViewSchedule_Day", "OnAttach");
- if (context instanceof OnFragmentInteractionListener) {
- mListener = (OnFragmentInteractionListener) context;
- } else {
- throw new RuntimeException(context.toString()
- + " must implement OnFragmentInteractionListener");
- }
- }
- @Override
- public void onCreate(Bundle savedInstanceState) {
- Log.e("ViewSchedule_Day", "Oncreate");
- super.onCreate(savedInstanceState);
- if (getArguments() != null) {
- mDay = getArguments().getInt(ARG_DAY);
- }
- }
- @Override
- public View onCreateView(LayoutInflater inflater, ViewGroup container,
- Bundle savedInstanceState) {
- Log.e("ViewSchedule_Day", "OncreateView");
- // Inflate the layout for this fragment
- View view = inflater.inflate(R.layout.fragment_view_schedule__day, container, false);
- return view;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement