53 lines
1.3 KiB
Java
53 lines
1.3 KiB
Java
|
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;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|