class BaseProfileFragment extends SecuredFragment implements View.OnTouchListener {

    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        gestureDetector = new GestureDetectorCompat(this.getActivity(), new ProfileFragmentsSwipeListener());
        view.setOnTouchListener(this);

    }

}