INNER CODE UNIT · Java

onDetach

JavaNoober/BackgroundLibrary · app/src/main/java/com/noober/backgroudlibrary/BlankFragment.java:88

    public void onDetach() {
        super.onDetach();
        mListener = null;
    }

    /**
     * This interface must be implemented by activities that contain this
     * fragment to allow an interaction in this fragment to be communicated
     * to the activity and potentially other fragments contained in that
     * activity.
     * <p>
     * See the Android Training lesson <a href=
     * "http://developer.android.com/training/basics/fragments/communicating.html"
     * >Communicating with Other Fragments</a> for more information.
     */
    public interface OnFragmentInteractionListener {
        // TODO: Update argument type and name
        void onFragmentInteraction(Uri uri);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…