Home | History | Annotate | Download | only in ui

Lines Matching refs:fragment

34 import android.support.v4.app.Fragment;
61 * This fragment displays details of a specific contact from the contacts provider. It shows the
62 * contact's display photo, name and all its mailing addresses. You can also modify this fragment
65 * This fragment appears full-screen in an activity on devices with small screen sizes, and as
69 * To create an instance of this fragment, use the factory method
73 public class ContactDetailFragment extends Fragment implements
86 // Whether or not this fragment is showing in a two pane layout
89 private Uri mContactUri; // Stores the contact Uri for this fragment instance
101 * Factory method to generate a new instance of the fragment given a contact Uri. A factory
109 // Create new instance of this fragment
110 final ContactDetailFragment fragment = new ContactDetailFragment();
116 // Assign the args bundle to the new fragment
117 fragment.setArguments(args);
119 // Return fragment
120 return fragment;
129 * Sets the contact that this Fragment displays, or clears the display if the contact argument
133 * @param contactLookupUri The contact lookup Uri to load and display in this fragment. Passing
134 * null is valid and the fragment will display a message that no
192 * When the Fragment is first created, this callback is invoked. It initializes some key
199 // Check if this fragment is part of a two pane set up or a single pane
202 // Let this fragment contribute menu items
233 // Inflates the main layout to be used by this fragment
268 * When the Fragment is being saved in order to change activity state, save the
306 // Inflates the options menu for this fragment
342 // If this fragment was cleared while the query was running
541 // Ensures the Fragment is still added to an activity. As this method is called in a
542 // background thread, there's the possibility the Fragment is no longer attached and