.. java:import:: android.app Activity .. java:import:: android.content Context .. java:import:: android.content Intent .. java:import:: android.content.res ColorStateList .. java:import:: android.os AsyncTask .. java:import:: android.os Bundle .. java:import:: android.support.annotation Nullable .. java:import:: android.support.design.widget FloatingActionButton .. java:import:: android.support.v4.app Fragment .. java:import:: android.view LayoutInflater .. java:import:: android.view View .. java:import:: android.view ViewGroup .. java:import:: android.widget BaseAdapter .. java:import:: android.widget ImageView .. java:import:: android.widget TextView .. java:import:: com.daprlabs.cardstack SwipeDeck .. java:import:: java.util Collections .. java:import:: java.util HashMap .. java:import:: java.util LinkedList .. java:import:: java.util Map .. java:import:: java.util Queue .. java:import:: java.util Random SelectionFragment ================= .. java:package:: ar.uba.fi.drtinder :noindex: .. java:type:: public class SelectionFragment extends Fragment Swipe selection fragment. Where you can choose if you like someone o not. Methods ------- onCreateView ^^^^^^^^^^^^ .. java:method:: @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle bundle) :outertype: SelectionFragment Called to have the fragment instantiate its user interface view. :param inflater: The LayoutInflater object that can be used to inflate any views in the fragment, :param container: If non-null, this is the parent view that the fragment's UI should be attached to. The fragment should not add the view itself, but this can be used to generate the LayoutParams of the view. :param bundle: If non-null, this fragment is being re-constructed from a previous saved state as given here. :return: Return the View for the fragment's UI, or null. onStart ^^^^^^^ .. java:method:: @Override public void onStart() :outertype: SelectionFragment Called when the Fragment is visible to the user. This is generally tied to Activity.onStart of the containing Activity's lifecycle. onStop ^^^^^^ .. java:method:: @Override public void onStop() :outertype: SelectionFragment Called when the Fragment is no longer started. This is generally tied to Activity.onStop of the containing Activity's lifecycle.