View Class

Definition

For information about using this class to develop your application's user interface, read the User Interface developer guide.

[Android.Runtime.Register("android/view/View", ApiSince=1, DoNotGenerateAcw=true)]
public class View : Java.Lang.Object, Android.Graphics.Drawables.Drawable.ICallback, Android.Views.Accessibility.IAccessibilityEventSource, Android.Views.KeyEvent.ICallback, IDisposable
type View = class
    inherit Object
    interface Drawable.ICallback
    interface IJavaObject
    interface IDisposable
    interface IAccessibilityEventSource
    interface KeyEvent.ICallback
Inheritance
View
Derived
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

View(Context)

Simple constructor to use when creating a view from code.

View(Context, IAttributeSet)

Constructor that is called when inflating a view from XML.

View(Context, IAttributeSet, Int32)

Perform inflation from XML and apply a class-specific base style from a theme attribute.

View(Context, IAttributeSet, Int32, Int32)

Perform inflation from XML and apply a class-specific base style from a theme attribute or style resource.

View(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

AccessibilityLiveRegionAssertive
Obsolete.

Live region mode specifying that accessibility services should interrupt ongoing speech to immediately announce changes to this view.

AccessibilityLiveRegionNone
Obsolete.

Live region mode specifying that accessibility services should not automatically announce changes to this view.

AccessibilityLiveRegionPolite
Obsolete.

Live region mode specifying that accessibility services should announce changes to this view.

AutofillFlagIncludeNotImportantViews
AutofillHintCreditCardExpirationDate
AutofillHintCreditCardExpirationDay
AutofillHintCreditCardExpirationMonth
AutofillHintCreditCardExpirationYear
AutofillHintCreditCardNumber
AutofillHintCreditCardSecurityCode
AutofillHintEmailAddress
AutofillHintName
AutofillHintPassword
AutofillHintPhone
AutofillHintPostalAddress
AutofillHintPostalCode
AutofillHintUsername
AutofillTypeDate
AutofillTypeList
AutofillTypeNone
AutofillTypeText
AutofillTypeToggle
DragFlagGlobal
DragFlagGlobalPersistableUriPermission
DragFlagGlobalPrefixUriPermission
DragFlagGlobalUriRead
DragFlagGlobalUriWrite
DragFlagOpaque
FindViewsWithContentDescription
Obsolete.

Find find views that contain the specified content description.

FocusableAuto
ImportantForAccessibilityAuto
Obsolete.

Automatically determine whether a view is important for accessibility.

ImportantForAccessibilityNo
Obsolete.

The view is not important for accessibility.

ImportantForAccessibilityNoHideDescendants
Obsolete.

The view is not important for accessibility, nor are any of its descendant views.

ImportantForAccessibilityYes
Obsolete.

The view is important for accessibility.

ImportantForAutofillAuto
ImportantForAutofillNo
ImportantForAutofillNoExcludeDescendants
ImportantForAutofillYes
ImportantForAutofillYesExcludeDescendants
LayoutDirectionInherit
Obsolete.

Horizontal layout direction of this view is inherited from its parent.

LayoutDirectionLocale
Obsolete.

Horizontal layout direction of this view is from deduced from the default language script for the locale.

LayoutDirectionLtr
Obsolete.

Horizontal layout direction of this view is from Left to Right.

LayoutDirectionRtl
Obsolete.

Horizontal layout direction of this view is from Right to Left.

MeasuredHeightStateShift

Bit shift of MeasuredStateMask to get to the height bits for functions that combine both width and height into a single int, such as MeasuredState and the childState argument of ResolveSizeAndState(Int32, Int32, Int32).

MeasuredSizeMask

Bits of MeasuredWidthAndState and MeasuredWidthAndState that provide the actual measured size.

MeasuredStateMask

Bits of MeasuredWidthAndState and MeasuredWidthAndState that provide the additional state bits.

MeasuredStateTooSmall

Bit of MeasuredWidthAndState and MeasuredWidthAndState that indicates the measured size is smaller that the space the view would like to have.

NoId

Used to mark a View that has no ID.

NotFocusable
OverScrollAlways
Obsolete.

Always allow a user to over-scroll this view, provided it is a view that can scroll.

OverScrollIfContentScrolls
Obsolete.

Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.

OverScrollNever
Obsolete.

Never allow a user to over-scroll this view.

ScreenStateOff
Obsolete.

Indicates that the screen has changed state and is now off.

ScreenStateOn
Obsolete.

Indicates that the screen has changed state and is now on.

ScrollAxisHorizontal
Obsolete.

Indicates scrolling along the horizontal axis.

ScrollAxisNone
Obsolete.

Indicates no axis of view scrolling.

ScrollAxisVertical
Obsolete.

Indicates scrolling along the vertical axis.

SystemUiFlagFullscreen
Obsolete.

Flag for SystemUiVisibility: View has requested to go into the normal fullscreen mode so that its content can take over the screen while still allowing the user to interact with the application.

SystemUiFlagHideNavigation
Obsolete.

Flag for SystemUiVisibility: View has requested that the system navigation be temporarily hidden.

SystemUiFlagImmersive
Obsolete.

Flag for SystemUiVisibility: View would like to remain interactive when hiding the navigation bar with SystemUiFlagHideNavigation.

SystemUiFlagImmersiveSticky
Obsolete.

Flag for SystemUiVisibility: View would like to remain interactive when hiding the status bar with SystemUiFlagFullscreen and/or hiding the navigation bar with SystemUiFlagHideNavigation.

SystemUiFlagLayoutFullscreen
Obsolete.

Flag for SystemUiVisibility: View would like its window to be laid out as if it has requested SystemUiFlagFullscreen, even if it currently hasn't.

SystemUiFlagLayoutHideNavigation
Obsolete.

Flag for SystemUiVisibility: View would like its window to be laid out as if it has requested SystemUiFlagHideNavigation, even if it currently hasn't.

SystemUiFlagLayoutStable
Obsolete.

Flag for SystemUiVisibility: When using other layout flags, we would like a stable view of the content insets given to FitSystemWindows(Rect).

SystemUiFlagLightNavigationBar
SystemUiFlagLightStatusBar
SystemUiFlagLowProfile
Obsolete.

Flag for SystemUiVisibility: View has requested the system UI to enter an unobtrusive "low profile" mode.

SystemUiFlagVisible
Obsolete.

Special constant for SystemUiVisibility: View has requested the system UI (status bar) to be visible (the default).

SystemUiLayoutFlags
Obsolete.

Flags that can impact the layout in relation to system UI.

TextAlignmentCenter
Obsolete.

Center the paragraph, e.g.

TextAlignmentGravity
Obsolete.

Default for the root view.

TextAlignmentInherit
Obsolete.

Default text alignment.

TextAlignmentResolvedDefault
TextAlignmentTextEnd
Obsolete.

Align to the end of the paragraph, e.g.

TextAlignmentTextStart
Obsolete.

Align to the start of the paragraph, e.g.

TextAlignmentViewEnd
Obsolete.

Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise.

TextAlignmentViewStart
Obsolete.

Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.

TextDirectionAnyRtl
Obsolete.

Text direction is using "any-RTL" algorithm.

TextDirectionFirstStrong
Obsolete.

Text direction is using "first strong algorithm".

TextDirectionFirstStrongLtr
TextDirectionFirstStrongRtl
TextDirectionInherit
Obsolete.

Text direction is inherited through ViewGroup

TextDirectionLocale
Obsolete.

Text direction is coming from the system Locale.

TextDirectionLtr
Obsolete.

Text direction is forced to LTR.

TextDirectionRtl
Obsolete.

Text direction is forced to RTL.

ViewLogTag

The logging tag used by this class with android.util.

Properties

AccessibilityClassName
AccessibilityClassNameFormatted
AccessibilityLiveRegion

Gets the live region mode for this View.

AccessibilityNodeProvider

Gets the provider for managing a virtual view hierarchy rooted at this View and reported to AccessibilityServices that explore the window content.

AccessibilityTraversalAfter
AccessibilityTraversalBefore
Activated

Indicates the activation state of this view.

Alpha

The opacity of the view.

Animation

Get the animation currently associated with this view.

ApplicationWindowToken

Retrieve a unique token identifying the top-level "real" window of the window that this view is attached to.

ApplyWindowInsets
AutofillId
AutofillType
AutofillValue
Background

Gets the background drawable

BackgroundTintList

Return the tint applied to the background drawable, if specified.

BackgroundTintMode

Return the blending mode used to apply the tint to the background drawable, if specified.

Baseline
Bottom

Bottom position of this view relative to its parent.

BottomFadingEdgeStrength

Returns the strength, or intensity, of the bottom faded edge.

BottomPaddingOffset

Amount by which to extend the bottom fading region.

CameraDistance

Gets the distance along the Z axis from the camera to this view.

Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Clickable

Indicates whether this view reacts to click events or not.

ClipBounds

Returns a copy of the current ClipBounds.

ClipToOutline

Returns whether the Outline should be used to clip the contents of the View.

ContentDescription
ContentDescriptionFormatted

Gets the View description.

Context

Returns the context the view is running in, through which it can access the current theme, resources, etc.

ContextClickable
ContextMenuInfo

Views should implement this if they have extra information to associate with the context menu.

DefaultFocusHighlightEnabled
Display

Gets the logical display to which the view's window has been attached.

DrawingCache
DrawingCacheBackgroundColor
DrawingCacheEnabled
DrawingCacheQuality

Returns the quality of the drawing cache.

DrawingTime
DuplicateParentStateEnabled
Elevation

The base elevation of this view relative to its parent, in pixels.

EmptyStateSet

Indicates the view has no states set.

Enabled

Returns the enabled status for this view.

EnabledFocusedSelectedStateSet

Indicates the view is enabled, focused and selected.

EnabledFocusedSelectedWindowFocusedStateSet

Indicates the view is enabled, focused, selected and its window has the focus.

EnabledFocusedStateSet

Indicates the view is enabled and has the focus.

EnabledFocusedWindowFocusedStateSet

Indicates the view is enabled, focused and its window has the focus.

EnabledSelectedStateSet

Indicates the view is enabled and selected.

EnabledSelectedWindowFocusedStateSet

Indicates the view is enabled, selected and its window has the focus.

EnabledStateSet

Indicates the view is enabled.

EnabledWindowFocusedStateSet

Indicates the view is enabled and that its window has focus.

FilterTouchesWhenObscured

Gets whether the framework should discard touches when the view's window is obscured by another visible window.

FitsSystemWindows

Check for state of SetFitsSystemWindows(Boolean).

Focusable

Returns whether this View is able to take focus.

FocusableInTouchMode

When a view is focusable, it may not want to take focus when in touch mode.

FocusedByDefault
FocusedSelectedStateSet

Indicates the view is focused and selected.

FocusedSelectedWindowFocusedStateSet

Indicates the view is focused, selected and its window has the focus.

FocusedStateSet

Indicates the view is focused.

FocusedWindowFocusedStateSet

Indicates the view has the focus and that its window has the focus.

Foreground
ForegroundGravity
ForegroundTintList
ForegroundTintMode
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Handler
HapticFeedbackEnabled
HasExplicitFocusable
HasFocus

Returns true if this view has focus itself, or is the ancestor of the view that has focus.

HasFocusable

Returns true if this view is focusable or if it contains a reachable View for which HasFocusable returns true.

HasNestedScrollingParent

Returns true if this view has a nested scrolling parent.

HasOnClickListeners

Return whether this view has an attached OnClickListener.

HasOverlappingRendering

Returns whether this View has content which overlaps.

HasPointerCapture
HasTransientState
HasWindowFocus

Returns true if this view is in a window that currently has window focus.

Height

Return the height of your view.

HorizontalFadingEdgeEnabled
HorizontalFadingEdgeLength

Returns the size of the horizontal faded edges used to indicate that more content in this view is visible.

HorizontalScrollBarEnabled
HorizontalScrollbarHeight

Returns the height of the horizontal scrollbar.

Hovered

Returns true if the view is currently hovered.

Id

Returns this view's identifier.

ImportantForAccessibility

Gets the mode for determining whether this View is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.

ImportantForAutofill
IsAccessibilityFocused

Returns whether this View is accessibility focused.

IsAttachedToWindow

Returns true if this view is currently attached to a window.

IsDirty

True if this view has changed since the last time being drawn.

IsFocused

Returns true if this view has focus

IsHardwareAccelerated
IsImportantForAccessibility

Computes whether this view should be exposed for accessibility.

IsImportantForAutofill
IsInEditMode

Indicates whether this View is currently in edit mode.

IsInLayout

Returns whether the view hierarchy is currently undergoing a layout pass.

IsInTouchMode

Returns whether the device is currently in touch mode.

IsLaidOut

Returns true if this view has been through at least one layout since it was last attached to or detached from a window.

IsLayoutDirectionResolved
IsLayoutRequested
IsOpaque

Indicates whether this View is opaque.

IsPaddingOffsetRequired

If the View draws content inside its padding and enables fading edges, it needs to support padding offsets.

IsPaddingRelative

Return if the padding has been set through relative values SetPaddingRelative(Int32, Int32, Int32, Int32) or through

IsScrollContainer

Indicates whether this view is one of the set of scrollable containers in its window.

IsShown

Returns the visibility of this view and all of its ancestors

IsTemporarilyDetached
IsTextAlignmentResolved
IsTextDirectionResolved
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
KeepScreenOn

Returns whether the screen should remain on, corresponding to the current value of KeepScreenOn.

KeyboardNavigationCluster
KeyDispatcherState

Return the global KeyEvent.DispatcherState for this view's window.

LabelFor

Gets the id of a view for which this view serves as a label for accessibility purposes.

LayerType

Indicates what type of layer is currently associated with this view.

LayoutDirection

Returns the resolved layout direction for this view.

LayoutParameters

Get the LayoutParams associated with this view.

Left

Left position of this view relative to its parent.

LeftFadingEdgeStrength

Returns the strength, or intensity, of the left faded edge.

LeftPaddingOffset

Amount by which to extend the left fading region.

LongClickable

Indicates whether this view reacts to long click events or not.

Matrix

The transform matrix of this view, which is calculated based on the current rotation, scale, and pivot properties.

MeasuredHeight

Like MeasuredHeightAndState, but only returns the raw width component (that is the result is masked by MeasuredSizeMask).

MeasuredHeightAndState

Return the full height measurement information for this view as computed by the most recent call to Measure(Int32, Int32).

MeasuredState

Return only the state bits of MeasuredWidthAndState and MeasuredHeightAndState, combined into one integer.

MeasuredWidth

Like MeasuredWidthAndState, but only returns the raw width component (that is the result is masked by MeasuredSizeMask).

MeasuredWidthAndState

Return the full width measurement information for this view as computed by the most recent call to Measure(Int32, Int32).

MinimumHeight

Returns the minimum height of the view.

MinimumWidth

Returns the minimum width of the view.

NestedScrollingEnabled

Returns true if nested scrolling is enabled for this view.

NextClusterForwardId
NextFocusDownId

Gets the id of the view to use when the next focus is Down.

NextFocusForwardId

Gets the id of the view to use when the next focus is Forward.

NextFocusLeftId

Gets the id of the view to use when the next focus is Left.

NextFocusRightId

Gets the id of the view to use when the next focus is Right.

NextFocusUpId

Gets the id of the view to use when the next focus is Up.

OnFocusChangeListener

Returns the focus-change callback registered for this view.

OutlineProvider

Returns the current ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping.

Overlay

Returns the overlay for this view, creating it if it does not yet exist.

OverScrollMode

Returns the over-scroll mode for this view.

PaddingBottom

Returns the bottom padding of this view.

PaddingEnd

Returns the end padding of this view depending on its resolved layout direction.

PaddingLeft

Returns the left padding of this view.

PaddingRight

Returns the right padding of this view.

PaddingStart

Returns the start padding of this view depending on its resolved layout direction.

PaddingTop

Returns the top padding of this view.

Parent

Gets the parent of this view.

ParentForAccessibility

Gets the parent for accessibility purposes.

PeerReference (Inherited from Object)
PivotX

The x location of the point around which the view is Rotation and ScaleX.

PivotY

The y location of the point around which the view is Rotation and ScaleY.

PointerIcon
Pressed

Indicates whether the view is currently in pressed state.

PressedEnabledFocusedSelectedStateSet

Indicates the view is pressed, enabled, focused and selected.

PressedEnabledFocusedSelectedWindowFocusedStateSet

Indicates the view is pressed, enabled, focused, selected and its window has the focus.

PressedEnabledFocusedStateSet

Indicates the view is pressed, enabled and focused.

PressedEnabledFocusedWindowFocusedStateSet

Indicates the view is pressed, enabled, focused and its window has the focus.

PressedEnabledSelectedStateSet

Indicates the view is pressed, enabled and selected.

PressedEnabledSelectedWindowFocusedStateSet

Indicates the view is pressed, enabled, selected and its window has the focus.

PressedEnabledStateSet

Indicates the view is pressed and enabled.

PressedEnabledWindowFocusedStateSet

Indicates the view is pressed, enabled and its window has the focus.

PressedFocusedSelectedStateSet

Indicates the view is pressed, focused and selected.

PressedFocusedSelectedWindowFocusedStateSet

Indicates the view is pressed, focused, selected and its window has the focus.

PressedFocusedStateSet

Indicates the view is pressed and focused.

PressedFocusedWindowFocusedStateSet

Indicates the view is pressed, focused and its window has the focus.

PressedSelectedStateSet

Indicates the view is pressed and selected.

PressedSelectedWindowFocusedStateSet

Indicates the view is pressed, selected and its window has the focus.

PressedStateSet

Indicates the view is pressed.

PressedWindowFocusedStateSet

Indicates the view is pressed and its window has the focus.

Resources

Returns the resources associated with this view.

RevealOnFocusHint
Right

Right position of this view relative to its parent.

RightFadingEdgeStrength

Returns the strength, or intensity, of the right faded edge.

RightPaddingOffset

Amount by which to extend the right fading region.

RootView
RootWindowInsets
Rotation

The degrees that the view is rotated around the pivot point.

RotationX

The degrees that the view is rotated around the horizontal axis through the pivot point.

RotationY

The degrees that the view is rotated around the vertical axis through the pivot point.

SaveEnabled

Indicates whether this view will save its state (that is, whether its OnSaveInstanceState() method will be called).

SaveFromParentEnabled

Indicates whether the entire hierarchy under this view will save its state when a state saving traversal occurs from its parent.

ScaleX

The amount that the view is scaled in x around the pivot point, as a proportion of the view's unscaled width.

ScaleXs

A Property wrapper around the scaleX functionality handled by the ScaleX and ScaleX methods.

ScaleY

The amount that the view is scaled in y around the pivot point, as a proportion of the view's unscaled height.

ScaleYs

A Property wrapper around the scaleY functionality handled by the ScaleY and ScaleY methods.

ScrollBarDefaultDelayBeforeFade

Returns the delay before scrollbars fade.

ScrollBarFadeDuration

Returns the scrollbar fade duration.

ScrollbarFadingEnabled

Returns true if scrollbars will fade when this view is not scrolling

ScrollBarSize

Returns the scrollbar size.

ScrollBarStyle
ScrollIndicators
ScrollX

Return the scrolled left position of this view.

ScrollY

Return the scrolled top position of this view.

Selected

Indicates the selection state of this view.

SelectedStateSet

Indicates the view is selected.

SelectedWindowFocusedStateSet

Indicates the view is selected and that its window has the focus.

SolidColor

Override this if your view is known to always be drawn on top of a solid color background, and needs to draw fading edges.

SoundEffectsEnabled
StateListAnimator

Returns the current StateListAnimator if exists.

SuggestedMinimumHeight

Returns the suggested minimum height that the view should use.

SuggestedMinimumWidth

Returns the suggested minimum width that the view should use.

SystemUiVisibility

Returns the last SystemUiVisibility that this view has requested.

Tag

Returns this view's tag.

TextAlignment

Return the resolved text alignment.

TextDirection

Return the resolved text direction.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

TooltipText
TooltipTextFormatted
Top

Top position of this view relative to its parent.

TopFadingEdgeStrength

Returns the strength, or intensity, of the top faded edge.

TopPaddingOffset

Amount by which to extend the top fading region.

Touchables

Find and return all touchable views that are descendants of this view, possibly including this view if it is touchable itself.

TouchDelegate

Gets the TouchDelegate for this View.

TransitionName

Returns the name of the View to be used to identify Views in Transitions.

TranslationX

The horizontal location of this view relative to its Left position.

TranslationY

The vertical location of this view relative to its Top position.

TranslationZ

The depth location of this view relative to its Elevation.

VerticalFadingEdgeEnabled
VerticalFadingEdgeLength

Returns the size of the vertical faded edges used to indicate that more content in this view is visible.

VerticalScrollBarEnabled
VerticalScrollbarPosition
VerticalScrollbarWidth

Returns the width of the vertical scrollbar.

ViewTreeObserver

Returns the ViewTreeObserver for this view's hierarchy.

Visibility

Returns the visibility status for this view.

Width

Return the width of the your view.

WindowAttachCount
WindowFocusedStateSet

Indicates the view's window has focus.

WindowId

Retrieve the WindowId for the window this view is currently attached to.

WindowSystemUiVisibility

Returns the current system UI visibility that is currently set for the entire window.

WindowToken

Retrieve a unique token identifying the window this view is attached to.

WindowVisibility

Returns the current visibility of the window this view is attached to (either Gone, Invisible, or Visible).

X

A Property wrapper around the x functionality handled by the SetX(Single) and GetX() methods.

Y

A Property wrapper around the y functionality handled by the SetY(Single) and GetY() methods.

Z

A Property wrapper around the z functionality handled by the SetZ(Single) and GetZ() methods.

Methods

AddChildrenForAccessibility(IList<View>)
AddExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo, String, Bundle)
AddFocusables(IList<View>, FocusSearchDirection)
AddFocusables(IList<View>, FocusSearchDirection, FocusablesFlags)
AddKeyboardNavigationClusters(ICollection<View>, FocusSearchDirection)
AddOnAttachStateChangeListener(View+IOnAttachStateChangeListener)

Add a listener for attach state changes.

AddOnLayoutChangeListener(View+IOnLayoutChangeListener)

Add a listener that will be called when the bounds of the view change due to layout processing.

AddTouchables(IList<View>)
Animate()

This method returns a ViewPropertyAnimator object, which can be used to animate specific properties on this View.

AnnounceForAccessibility(ICharSequence)
AnnounceForAccessibility(String)
Autofill(AutofillValue)
Autofill(SparseArray)
AwakenScrollBars()
AwakenScrollBars(Int32)
AwakenScrollBars(Int32, Boolean)
BringToFront()

Change the view's z order in the tree, so it's on top of other sibling views.

BuildDrawingCache()
BuildDrawingCache(Boolean)
BuildLayer()

Forces this view's layer to be created and this view to be rendered into its layer.

CallOnClick()

Directly call any attached OnClickListener.

CancelDragAndDrop()
CancelLongPress()

Cancels a pending long press.

CancelPendingInputEvents()

Cancel any deferred high-level input events that were previously posted to the event queue.

CanResolveLayoutDirection()

Check if layout direction resolution can be done.

CanResolveTextAlignment()

Check if text alignment resolution can be done.

CanResolveTextDirection()

Check if text direction resolution can be done.

CanScrollHorizontally(Int32)

Check if this view can be scrolled horizontally in a certain direction.

CanScrollVertically(Int32)

Check if this view can be scrolled vertically in a certain direction.

CheckInputConnectionProxy(View)

Called by the InputMethodManager when a view who is not the current input connection target is trying to make a call on the manager.

ClearAnimation()

Cancels any animations for this view.

ClearFocus()

Called when this view wants to give up focus.

Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CombineMeasuredStates(Int32, Int32)

Merge two states as returned by MeasuredState.

ComputeHorizontalScrollExtent()
ComputeHorizontalScrollOffset()
ComputeHorizontalScrollRange()
ComputeScroll()

Called by a parent to request that a child update its values for mScrollX and mScrollY if necessary.

ComputeSystemWindowInsets(WindowInsets, Rect)

Compute insets that should be consumed by this view and the ones that should propagate to those under it.

ComputeVerticalScrollExtent()
ComputeVerticalScrollOffset()
ComputeVerticalScrollRange()
CreateAccessibilityNodeInfo()

Returns an AccessibilityNodeInfo representing this view from the point of view of an AccessibilityService.

CreateContextMenu(IContextMenu)

Show the context menu for this view.

DestroyDrawingCache()
DispatchApplyWindowInsets(WindowInsets)

Request to apply the given window insets to this view or another view in its subtree.

DispatchCapturedPointerEvent(MotionEvent)
DispatchConfigurationChanged(Configuration)

Dispatch a notification about a resource configuration change down the view hierarchy.

DispatchDisplayHint(ViewStates)

Dispatch a hint about whether this view is displayed.

DispatchDragEvent(DragEvent)

Detects if this View is enabled and has a drag event listener.

DispatchDraw(Canvas)

Called by draw to draw the child views.

DispatchDrawableHotspotChanged(Single, Single)
DispatchFinishTemporaryDetach()
DispatchGenericFocusedEvent(MotionEvent)

Dispatch a generic motion event to the currently focused view.

DispatchGenericMotionEvent(MotionEvent)

Dispatch a generic motion event.

DispatchGenericPointerEvent(MotionEvent)

Dispatch a generic motion event to the view under the first pointer.

DispatchHoverEvent(MotionEvent)

Dispatch a hover event.

DispatchKeyEvent(KeyEvent)

Dispatch a key event to the next view on the focus path.

DispatchKeyEventPreIme(KeyEvent)

Dispatch a key event before it is processed by any input method associated with the view hierarchy.

DispatchKeyShortcutEvent(KeyEvent)

Dispatches a key shortcut event.

DispatchNestedFling(Single, Single, Boolean)

Dispatch a fling to a nested scrolling parent.

DispatchNestedPreFling(Single, Single)

Dispatch a fling to a nested scrolling parent before it is processed by this view.

DispatchNestedPrePerformAccessibilityAction(Action, Bundle)
DispatchNestedPreScroll(Int32, Int32, Int32[], Int32[])

Dispatch one step of a nested scroll in progress before this view consumes any portion of it.

DispatchNestedScroll(Int32, Int32, Int32, Int32, Int32[])

Dispatch one step of a nested scroll in progress.

DispatchPointerCaptureChanged(Boolean)
DispatchPopulateAccessibilityEvent(AccessibilityEvent)

Dispatches an AccessibilityEvent to the View first and then to its children for adding their text content to the event.

DispatchProvideAutofillStructure(ViewStructure, AutofillFlags)
DispatchProvideStructure(ViewStructure)
DispatchRestoreInstanceState(SparseArray)
DispatchSaveInstanceState(SparseArray)
DispatchSetActivated(Boolean)

Dispatch setActivated to all of this View's children.

DispatchSetPressed(Boolean)

Dispatch setPressed to all of this View's children.

DispatchSetSelected(Boolean)

Dispatch setSelected to all of this View's children.

DispatchStartTemporaryDetach()
DispatchSystemUiVisibilityChanged(Int32)
DispatchSystemUiVisibilityChanged(SystemUiFlags)

Dispatch callbacks to SetOnSystemUiVisibilityChangeListener(View+IOnSystemUiVisibilityChangeListener) down the view hierarchy.

DispatchTouchEvent(MotionEvent)

Pass the touch screen motion event down to the target view, or this view if it is the target.

DispatchTrackballEvent(MotionEvent)

Pass a trackball motion event down to the focused view.

DispatchUnhandledMove(View, FocusSearchDirection)

This method is the last chance for the focused view and its ancestors to respond to an arrow key.

DispatchVisibilityChanged(View, ViewStates)

Dispatch a view visibility change down the view hierarchy.

DispatchWindowFocusChanged(Boolean)

Called when the window containing this view gains or loses window focus.

DispatchWindowSystemUiVisiblityChanged(SystemUiFlags)

Dispatch callbacks to OnWindowSystemUiVisibilityChanged(SystemUiFlags) down the view hierarchy.

DispatchWindowVisibilityChanged(ViewStates)

Dispatch a window visibility change down the view hierarchy.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Draw(Canvas)

Manually render this view (and all of its children) to the given Canvas.

DrawableHotspotChanged(Single, Single)

This function is called whenever the view hotspot changes and needs to be propagated to drawables or child views managed by the view.

DrawableStateChanged()

This function is called whenever the state of the view changes in such a way that it impacts the state of drawables being shown.

Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
FindFocus()

Find the view in the hierarchy rooted at this view that currently has focus.

FindViewById(Int32)

Look for a child view with the given id.

FindViewById<T>(Int32)
FindViewsWithText(IList<View>, ICharSequence, FindViewsWith)
FindViewsWithText(IList<View>, String, FindViewsWith)
FindViewWithTag(Object)

Look for a child view with the given tag.

FitSystemWindows(Rect)
Obsolete.

Called by the view hierarchy when the content insets for a window have changed, to allow it to adjust its content to fit within those windows.

FocusSearch(FocusSearchDirection)

Find the nearest view in the specified direction that can take focus.

ForceHasOverlappingRendering(Boolean)
ForceLayout()

Forces this view to be laid out during the next layout pass.

GenerateViewId()

Generate a value suitable for use in Id.

GetAutofillHints()
GetClipBounds(Rect)
GetDefaultSize(Int32, Int32)

Utility to return a default size.

GetDrawableState()

Return an array of resource IDs of the drawable states representing the current state of the view.

GetDrawingCache(Boolean)
GetDrawingRect(Rect)

Return the visible drawing bounds of your view.

GetFocusable()
GetFocusables(FocusSearchDirection)

Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.

GetFocusedRect(Rect)

When a view has focus and the user navigates away from it, the next view is searched for starting from the rectangle filled in by this method.

GetGlobalVisibleRect(Rect)
GetGlobalVisibleRect(Rect, Point)

If some part of this view is not clipped by any of its parents, then return that area in r in global (root) coordinates.

GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetHasOverlappingRendering()
GetHitRect(Rect)

Hit rectangle in parent's coordinates

GetLocalVisibleRect(Rect)
GetLocationInWindow(Int32[])
GetLocationOnScreen(Int32[])
GetTag(Int32)

Returns the tag associated with this view and the specified key.

GetWindowVisibleDisplayFrame(Rect)

Retrieve the overall visible display size in which the window this view is attached to has been positioned in.

GetX()

The visual x position of this view, in pixels.

GetY()

The visual y position of this view, in pixels.

GetZ()

The visual z position of this view, in pixels.

Inflate(Context, Int32, ViewGroup)

Inflate a view from an XML resource.

InitializeFadingEdge(TypedArray)
InitializeScrollbars(TypedArray)
Invalidate()

Invalidate the whole view.

Invalidate(Int32, Int32, Int32, Int32)

Mark the area defined by the rect (l,t,r,b) as needing to be drawn.

Invalidate(Rect)

Mark the area defined by dirty as needing to be drawn.

InvalidateDrawable(Drawable)

Invalidates the specified Drawable.

InvalidateOutline()

Called to rebuild this View's Outline from its ViewOutlineProvider

InvokeFitsSystemWindows()
JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
JumpDrawablesToCurrentState()

Call JumpToCurrentState() on all Drawable objects associated with this view.

KeyboardNavigationClusterSearch(View, FocusSearchDirection)
Layout(Int32, Int32, Int32, Int32)

Assign a size and position to a view and all of its descendants

Measure(Int32, Int32)
MergeDrawableStates(Int32[], Int32[])

Merge your own state values in additionalState into the base state values baseState that were returned by OnCreateDrawableState(Int32).

Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
OffsetLeftAndRight(Int32)

Offset this view's horizontal location by the specified amount of pixels.

OffsetTopAndBottom(Int32)

Offset this view's vertical location by the specified number of pixels.

OnAnimationEnd()

Invoked by a parent ViewGroup to notify the end of the animation currently associated with this view.

OnAnimationStart()

Invoked by a parent ViewGroup to notify the start of the animation currently associated with this view.

OnApplyWindowInsets(WindowInsets)

Called when the view should apply WindowInsets according to its internal policy.

OnAttachedToWindow()

This is called when the view is attached to a window.

OnCancelPendingInputEvents()

Called as the result of a call to CancelPendingInputEvents() on this view or a parent view.

OnCapturedPointerEvent(MotionEvent)
OnCheckIsTextEditor()

Check whether the called view is a text editor, in which case it would make sense to automatically display a soft input window for it.

OnConfigurationChanged(Configuration)

Called when the current configuration of the resources being used by the application have changed.

OnCreateContextMenu(IContextMenu)

Views should implement this if the view itself is going to add items to the context menu.

OnCreateDrawableState(Int32)

Generate the new Drawable state for this view.

OnCreateInputConnection(EditorInfo)

Create a new InputConnection for an InputMethod to interact with the view.

OnDetachedFromWindow()

This is called when the view is detached from a window.

OnDisplayHint(Int32)

Gives this view a hint about whether is displayed or not.

OnDragEvent(DragEvent)

Handles drag events sent by the system following a call to StartDrag(ClipData, View+DragShadowBuilder, Object, Int32).

OnDraw(Canvas)

Implement this to do your drawing.

OnDrawForeground(Canvas)
OnDrawScrollBars(Canvas)
OnFilterTouchEventForSecurity(MotionEvent)

Filter the touch event to apply security policies.

OnFinishInflate()

Finalize inflating a view from XML.

OnFinishTemporaryDetach()

Called after OnStartTemporaryDetach() when the container is done changing the view.

OnFocusChanged(Boolean, FocusSearchDirection, Rect)

Called by the view system when the focus state of this view changes.

OnGenericMotionEvent(MotionEvent)

Implement this method to handle generic motion events.

OnHoverChanged(Boolean)

Implement this method to handle hover state changes.

OnHoverEvent(MotionEvent)

Implement this method to handle hover events.

OnInitializeAccessibilityEvent(AccessibilityEvent)

Initializes an AccessibilityEvent with information about this View which is the event source.

OnInitializeAccessibilityNodeInfo(AccessibilityNodeInfo)

Initializes an AccessibilityNodeInfo with information about this view.

OnKeyDown(Keycode, KeyEvent)

Default implementation of OnKeyDown(Keycode, KeyEvent): perform press of the view when DpadCenter or Enter is released, if the view is enabled and clickable.

OnKeyLongPress(Keycode, KeyEvent)

Default implementation of OnKeyLongPress(Keycode, KeyEvent): always returns false (doesn't handle the event).

OnKeyMultiple(Keycode, Int32, KeyEvent)

Default implementation of OnKeyMultiple(Keycode, Int32, KeyEvent): always returns false (doesn't handle the event).

OnKeyPreIme(Keycode, KeyEvent)

Handle a key event before it is processed by any input method associated with the view hierarchy.

OnKeyShortcut(Keycode, KeyEvent)

Called on the focused view when a key shortcut event is not handled.

OnKeyUp(Keycode, KeyEvent)

Default implementation of OnKeyUp(Keycode, KeyEvent): perform clicking of the view when DpadCenter or Enter is released.

OnLayout(Boolean, Int32, Int32, Int32, Int32)

Called from layout when this view should assign a size and position to each of its children.

OnMeasure(Int32, Int32)
OnOverScrolled(Int32, Int32, Boolean, Boolean)

Called by OverScrollBy(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Boolean) to respond to the results of an over-scroll operation.

OnPointerCaptureChange(Boolean)
OnPopulateAccessibilityEvent(AccessibilityEvent)

Called from DispatchPopulateAccessibilityEvent(AccessibilityEvent) giving a chance to this View to populate the accessibility event with its text content.

OnProvideAutofillStructure(ViewStructure, AutofillFlags)
OnProvideAutofillVirtualStructure(ViewStructure, AutofillFlags)
OnProvideStructure(ViewStructure)
OnProvideVirtualStructure(ViewStructure)
OnResolvePointerIcon(MotionEvent, Int32)
OnRestoreInstanceState(IParcelable)

Hook allowing a view to re-apply a representation of its internal state that had previously been generated by OnSaveInstanceState().

OnRtlPropertiesChanged(LayoutDirection)

Called when any RTL property (layout direction or text direction or text alignment) has been changed.

OnSaveInstanceState()

Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.

OnScreenStateChanged(ScreenState)

This method is called whenever the state of the screen this view is attached to changes.

OnScrollChanged(Int32, Int32, Int32, Int32)

This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents).

OnSetAlpha(Int32)

Invoked if there is a Transform that involves alpha.

OnSizeChanged(Int32, Int32, Int32, Int32)

This is called during layout when the size of this view has changed.

OnStartTemporaryDetach()

This is called when a container is going to temporarily detach a child, with DetachViewFromParent(View).

OnTouchEvent(MotionEvent)

Implement this method to handle touch screen motion events.

OnTrackballEvent(MotionEvent)

Implement this method to handle trackball motion events.

OnVisibilityAggregated(Boolean)
OnVisibilityChanged(View, ViewStates)

Called when the visibility of the view or an ancestor of the view has changed.

OnWindowFocusChanged(Boolean)

Called when the window containing this view gains or loses focus.

OnWindowSystemUiVisibilityChanged(SystemUiFlags)

Override to find out when the window's requested system UI visibility has changed, that is the value returned by WindowSystemUiVisibility.

OnWindowVisibilityChanged(ViewStates)

Called when the window containing has change its visibility (between Gone, Invisible, and Visible).

OverScrollBy(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Boolean)

Scroll the view with standard behavior for scrolling beyond the normal content boundaries.

PerformAccessibilityAction(Action, Bundle)
PerformAccessibilityAction(GlobalAction, Bundle)
Obsolete.

Performs the specified accessibility action on the view.

PerformClick()

Call this view's OnClickListener, if it is defined.

PerformContextClick()
PerformContextClick(Single, Single)
PerformHapticFeedback(FeedbackConstants)

BZZZTT!!1!

PerformHapticFeedback(FeedbackConstants, FeedbackFlags)

BZZZTT!!1!

PerformLongClick()

Call this view's OnLongClickListener, if it is defined.

PerformLongClick(Single, Single)
PlaySoundEffect(SoundEffects)

Play a sound effect for this view.

Post(Action)
Post(IRunnable)
PostDelayed(Action, Int64)
PostDelayed(IRunnable, Int64)
PostInvalidate()
PostInvalidate(Int32, Int32, Int32, Int32)
PostInvalidateDelayed(Int64)
PostInvalidateDelayed(Int64, Int32, Int32, Int32, Int32)
PostInvalidateOnAnimation()
PostInvalidateOnAnimation(Int32, Int32, Int32, Int32)
PostOnAnimation(IRunnable)
PostOnAnimationDelayed(IRunnable, Int64)
RefreshDrawableState()

Call this to force a view to update its drawable state.

ReleasePointerCapture()
RemoveCallbacks(Action)
RemoveCallbacks(IRunnable)
RemoveOnAttachStateChangeListener(View+IOnAttachStateChangeListener)

Remove a listener for attach state changes.

RemoveOnLayoutChangeListener(View+IOnLayoutChangeListener)

Remove a listener for layout changes.

RequestApplyInsets()

Ask that a new dispatch of OnApplyWindowInsets(WindowInsets) be performed.

RequestFitSystemWindows()
Obsolete.

Ask that a new dispatch of FitSystemWindows(Rect) be performed.

RequestFocus()

Call this to try to give focus to a specific view or to one of its descendants.

RequestFocus(FocusSearchDirection)

Call this to try to give focus to a specific view or to one of its descendants and give it a hint about what direction focus is heading.

RequestFocus(FocusSearchDirection, Rect)

Call this to try to give focus to a specific view or to one of its descendants and give it hints about the direction and a specific rectangle that the focus is coming from.

RequestFocusFromTouch()

Call this to try to give focus to a specific view or to one of its descendants.

RequestLayout()

Call this when something has changed which has invalidated the layout of this view.

RequestPointerCapture()
RequestRectangleOnScreen(Rect)

Request that a rectangle of this view be visible on the screen, scrolling if necessary just enough.

RequestRectangleOnScreen(Rect, Boolean)

Request that a rectangle of this view be visible on the screen, scrolling if necessary just enough.

RequestUnbufferedDispatch(MotionEvent)

Request unbuffered dispatch of the given stream of MotionEvents to this View.

ResolveSize(Int32, Int32)

Version of ResolveSizeAndState(Int32, Int32, Int32) returning only the MeasuredSizeMask bits of the result.

ResolveSizeAndState(Int32, Int32, Int32)

Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec.

RestoreDefaultFocus()
RestoreHierarchyState(SparseArray)
SaveHierarchyState(SparseArray)
ScheduleDrawable(Drawable, Action, Int64)
ScheduleDrawable(Drawable, IRunnable, Int64)

Schedules an action on a drawable to occur at a specified time.

ScrollBy(Int32, Int32)

Move the scrolled position of your view.

ScrollTo(Int32, Int32)

Set the scrolled position of your view.

SendAccessibilityEvent(EventTypes)

Sends an accessibility event of the given type.

SendAccessibilityEventUnchecked(AccessibilityEvent)

This method behaves exactly as SendAccessibilityEvent(EventTypes) but takes as an argument an empty AccessibilityEvent and does not perform a check whether accessibility is enabled.

SetAccessibilityDelegate(View+AccessibilityDelegate)

Sets a delegate for implementing accessibility support via composition as opposed to inheritance.

SetAutofillHints(String[])
SetBackgroundColor(Color)

Sets the background color for this view.

SetBackgroundDrawable(Drawable)
SetBackgroundResource(Int32)

Set the background to a given resource.

SetCameraDistance(Single)
SetFadingEdgeLength(Int32)

Set the size of the faded edge used to indicate that more content in this view is available.

SetFitsSystemWindows(Boolean)
SetFocusable(ViewFocusability)
SetForegroundGravity(GravityFlags)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetLayerPaint(Paint)

Updates the Paint object used with the current layer (used only if the current layer type is not set to None).

SetLayerType(LayerType, Paint)
SetMeasuredDimension(Int32, Int32)
SetMinimumHeight(Int32)

Sets the minimum height of the view.

SetMinimumWidth(Int32)

Sets the minimum width of the view.

SetOnApplyWindowInsetsListener(View+IOnApplyWindowInsetsListener)

Set an SetOnApplyWindowInsetsListener(View+IOnApplyWindowInsetsListener) to take over the policy for applying window insets to this view.

SetOnCapturedPointerListener(View+IOnCapturedPointerListener)
SetOnClickListener(View+IOnClickListener)

Register a callback to be invoked when this view is clicked.

SetOnContextClickListener(View+IOnContextClickListener)
SetOnCreateContextMenuListener(View+IOnCreateContextMenuListener)

Register a callback to be invoked when the context menu for this view is being built.

SetOnDragListener(View+IOnDragListener)

Register a drag event listener callback object for this View.

SetOnGenericMotionListener(View+IOnGenericMotionListener)

Register a callback to be invoked when a generic motion event is sent to this view.

SetOnHoverListener(View+IOnHoverListener)

Register a callback to be invoked when a hover event is sent to this view.

SetOnKeyListener(View+IOnKeyListener)

Register a callback to be invoked when a hardware key is pressed in this view.

SetOnLongClickListener(View+IOnLongClickListener)

Register a callback to be invoked when this view is clicked and held.

SetOnScrollChangeListener(View+IOnScrollChangeListener)
SetOnSystemUiVisibilityChangeListener(View+IOnSystemUiVisibilityChangeListener)

Set a listener to receive callbacks when the visibility of the system bar changes.

SetOnTouchListener(View+IOnTouchListener)

Register a callback to be invoked when a touch event is sent to this view.

SetPadding(Int32, Int32, Int32, Int32)

Sets the padding.

SetPaddingRelative(Int32, Int32, Int32, Int32)

Sets the relative padding.

SetScrollContainer(Boolean)

Change whether this view is one of the set of scrollable containers in its window.

SetScrollIndicators(Int32)
SetScrollIndicators(Int32, Int32)
SetTag(Int32, Object)

Sets a tag associated with this view and a key.

SetWillNotCacheDrawing(Boolean)

When a View's drawing cache is enabled, drawing is redirected to an offscreen bitmap.

SetWillNotDraw(Boolean)

If this view doesn't do any drawing on its own, set this flag to allow further optimizations.

SetX(Single)

Sets the visual x position of this view, in pixels.

SetY(Single)

Sets the visual y position of this view, in pixels.

SetZ(Single)

Sets the visual z position of this view, in pixels.

ShowContextMenu()

Bring up the context menu for this view.

ShowContextMenu(Single, Single)
StartActionMode(ActionMode+ICallback)

Start an action mode with the default type Primary.

StartActionMode(ActionMode+ICallback, ActionModeType)
StartAnimation(Animation)

Start the specified animation now.

StartDrag(ClipData, View+DragShadowBuilder, Object, Int32)
Obsolete.

Starts a drag and drop operation.

StartDragAndDrop(ClipData, View+DragShadowBuilder, Object, Int32)
StartNestedScroll(ScrollAxis)

Begin a nestable scroll operation along the given axes.

StopNestedScroll()

Stop a nested scroll in progress.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
UnscheduleDrawable(Drawable)

Unschedule any events associated with the given Drawable.

UnscheduleDrawable(Drawable, Action)
UnscheduleDrawable(Drawable, IRunnable)

Cancels a scheduled action on a drawable.

UpdateDragShadow(View+DragShadowBuilder)
VerifyDrawable(Drawable)

If your view subclass is displaying its own Drawable objects, it should override this function and return true for any Drawable it is displaying.

Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
WillNotCacheDrawing()

Returns whether or not this View can cache its drawing or not.

WillNotDraw()

Returns whether or not this View draws on its own.

Events

CapturedPointer
Click
ContextClick
ContextMenuCreated
Drag
FocusChange
GenericMotion
Hover
KeyPress
LayoutChange
LongClick
ScrollChange
SystemUiVisibilityChange
Touch
ViewAttachedToWindow
ViewDetachedFromWindow

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to