The methods of Android.App.Fragment are listed below. For a list of all members, see the Fragment Members list.
See Also: Inherited members from Java.Lang.Object
Dump(string, Java.IO.FileDescriptor, Java.IO.PrintWriter, string[])Print the Fragments's state into the given stream. | ||
override | Equals(Java.Lang.Object)Subclasses can not override equals(). | |
override | GetHashCode()Subclasses can not override hashCode(). | |
GetString(int)Return a localized string from the application's package's default string table. | ||
GetString(int, params Java.Lang.Object[])Documentation for this section has not yet been entered. | ||
GetText(int)Documentation for this section has not yet been entered. | ||
GetTextFormatted(int)Return a localized, styled CharSequence from the application's package's default string table. | ||
static | Instantiate(Android.Content.Context, string)Like Fragment.Instantiate(Android.Content.Context, System.String, System.String) but with a null argument Bundle. | |
static | Instantiate(Android.Content.Context, string, Android.OS.Bundle)Create a new instance of a Fragment with the given class name. | |
OnActivityCreated(Android.OS.Bundle)Called when the fragment's activity has been created and this fragment's view hierarchy instantiated. | ||
OnActivityResult(int, Result, Android.Content.Intent)Receive the result from a previous call to Fragment.StartActivityForResult(Android.Content.Intent, System.Int32). | ||
OnAttach(Activity)Called when a fragment is first attached to its activity. | ||
OnConfigurationChanged(Android.Content.Res.Configuration)Called by the system when the device configuration changes while your component is running. | ||
OnContextItemSelected(Android.Views.IMenuItem)This hook is called whenever an item in a context menu is selected. | ||
OnCreate(Android.OS.Bundle)Called to do initial creation of a fragment. | ||
OnCreateAnimator(FragmentTransit, bool, int)Called when a fragment loads an animation. | ||
OnCreateContextMenu(Android.Views.IContextMenu, Android.Views.View, Android.Views.IContextMenuContextMenuInfo)Called when a context menu for the view is about to be shown. | ||
OnCreateOptionsMenu(Android.Views.IMenu, Android.Views.MenuInflater)Initialize the contents of the Activity's standard options menu. | ||
OnCreateView(Android.Views.LayoutInflater, Android.Views.ViewGroup, Android.OS.Bundle)Called to have the fragment instantiate its user interface view. | ||
OnDestroy()Called when the fragment is no longer in use. | ||
OnDestroyOptionsMenu()Called when this fragment's option menu items are no longer being included in the overall options menu. | ||
OnDestroyView()Called when the view previously created by Fragment.OnCreateView(Android.Views.LayoutInflater, Android.Views.ViewGroup, Android.Views.ViewGroup) has been detached from the fragment. | ||
OnDetach()Called when the fragment is no longer attached to its activity. | ||
OnHiddenChanged(bool)Called when the hidden state (as returned by Fragment.IsHidden of the fragment has changed. | ||
OnInflate(Android.Util.IAttributeSet, Android.OS.Bundle) | ||
OnInflate(Activity, Android.Util.IAttributeSet, Android.OS.Bundle)Called when a fragment is being created as part of a view layout inflation, typically from setting the content view of an activity. | ||
OnLowMemory()This is called when the overall system is running low on memory, and actively running processes should trim their memory usage. | ||
OnOptionsItemSelected(Android.Views.IMenuItem)This hook is called whenever an item in your options menu is selected. | ||
OnOptionsMenuClosed(Android.Views.IMenu)This hook is called whenever the options menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected). | ||
OnPause()Called when the Fragment is no longer resumed. | ||
OnPrepareOptionsMenu(Android.Views.IMenu)Prepare the Screen's standard options menu to be displayed. | ||
OnResume()Called when the fragment is visible to the user and actively running. | ||
OnSaveInstanceState(Android.OS.Bundle)Called to ask the fragment to save its current dynamic state, so it can later be reconstructed in a new instance of its process is restarted. | ||
OnStart()Called when the Fragment is visible to the user. | ||
OnStop()Called when the Fragment is no longer started. | ||
OnTrimMemory(Android.Content.TrimMemory)Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process. | ||
OnViewCreated(Android.Views.View, Android.OS.Bundle)Called immediately after Fragment.OnCreateView(Android.Views.LayoutInflater, Android.Views.ViewGroup, Android.Views.ViewGroup) has returned, but before any saved state has been restored in to the view. | ||
OnViewStateRestored(Android.OS.Bundle)Called when all saved state has been restored into the view hierarchy of the fragment. | ||
RegisterForContextMenu(Android.Views.View)Registers a context menu to be shown for the given view (multiple views can show the context menu). | ||
SetEnterSharedElementCallback(SharedElementCallback)When custom transitions are used with Fragments, the enter transition callback is called when this Fragment is attached or detached when not popping the back stack. | ||
SetExitSharedElementCallback(SharedElementCallback)When custom transitions are used with Fragments, the exit transition callback is called when this Fragment is attached or detached when popping the back stack. | ||
SetHasOptionsMenu(bool)Report that this fragment would like to participate in populating the options menu by receiving a call to Fragment.OnCreateOptionsMenu(Android.Views.IMenu, Android.Views.MenuInflater) and related methods. | ||
SetInitialSavedState(Fragment.SavedState)Set the initial saved state that this Fragment should restore itself from when first being constructed, as returned by FragmentManager.SaveFragmentInstanceState(Fragment). | ||
SetMenuVisibility(bool)Set a hint for whether this fragment's menu should be visible. | ||
SetTargetFragment(Fragment, int)Optional target for this fragment. | ||
StartActivity(Android.Content.Intent)Call Activity.startActivity(android.content.Intent) from the fragment's containing Activity. | ||
StartActivity(Android.Content.Intent, Android.OS.Bundle)Call Activity.startActivity(android.content.Intent, android.os.Bundle) from the fragment's containing Activity. | ||
StartActivityForResult(Android.Content.Intent, int)Call Activity.StartActivityForResult(Android.Content.Intent, System.Int32) from the fragment's containing Activity. | ||
StartActivityForResult(Android.Content.Intent, int, Android.OS.Bundle)Call Activity.StartActivityForResult(Android.Content.Intent, System.Int32, System.Int32) from the fragment's containing Activity. | ||
UnregisterForContextMenu(Android.Views.View)Prevents a context menu to be shown for the given view. |