the-social-notebook-android/app/src/main/java/com/android_app/matan/ara/sagi/thesocialnotework/PersonalFragment.java

53 lines
1.3 KiB
Java
Raw Normal View History

2016-07-03 14:33:11 +00:00
package com.android_app.matan.ara.sagi.thesocialnotework;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* A simple {@link Fragment} subclass.
* Activities that contain this fragment must implement the
* to handle interaction events.
*/
public class PersonalFragment extends Fragment {
public PersonalFragment() {
// Required empty public constructor
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_personal, container, false);
}
@Override
public void onAttach(Context context) {
super.onAttach(context);
// if (context instanceof OnFragmentInteractionListener) {
// mListener = (OnFragmentInteractionListener) context;
// } else {
// throw new RuntimeException(context.toString()
// + " must implement OnFragmentInteractionListener");
// }
}
@Override
public void onDetach() {
super.onDetach();
// mListener = null;
}
}