Android Open Source - 2do On Fragment Interaction Listener






From Project

Back to project page 2do.

License

The source code is released under:

GNU General Public License

If you think the Android project 2do listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.spaghettidev.twodo;
//from   w  w w  . j  a v  a  2s  .co  m
import android.net.Uri;
import android.support.v4.app.Fragment;
import android.view.View;

/**
 * This interface must be implemented by activities that contain 
 * fragments to allow an interaction in this fragment to be communicated to
 * the activity and potentially other fragments contained in that activity.
 */
public interface OnFragmentInteractionListener {
        //public void onFragmentInteraction(final Uri uri);
        public void onFragmentInteraction(final Uri uri, final View origin);
        public void addTaskInList(final String text, final long listId);
        public void closeFragment(final Fragment fragment);
}




Java Source Code List

com.spaghettidev.twodo.DONEFragment.java
com.spaghettidev.twodo.FileDialog.java
com.spaghettidev.twodo.HomeFragment.java
com.spaghettidev.twodo.MainActivity.java
com.spaghettidev.twodo.OnFragmentInteractionListener.java
com.spaghettidev.twodo.TODOFragment.java
com.spaghettidev.twodo.dbHelper.java