belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1
RecyclerViewAccessibilityDelegate.ItemDelegate
public
static
class
RecyclerViewAccessibilityDelegate.ItemDelegate
extends AccessibilityDelegateCompat
java.lang.Object | ||
↳ | android.support.v4.view.AccessibilityDelegateCompat | |
↳ | android.support.v7.widget.RecyclerViewAccessibilityDelegate.ItemDelegate |
The default implementation of accessibility delegate for the individual items of the RecyclerView.
If you are overriding RecyclerViewAccessibilityDelegate#getItemDelegate()
but still
want to keep some default behavior, you can create an instance of this class and delegate to
the parent as necessary.
Summary
Public constructors | |
---|---|
RecyclerViewAccessibilityDelegate.ItemDelegate(RecyclerViewAccessibilityDelegate recyclerViewDelegate)
Creates an item delegate for the given |
Public methods | |
---|---|
void
|
onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info)
Initializes an |
boolean
|
performAccessibilityAction(View host, int action, Bundle args)
Performs the specified accessibility action on the view. |
Inherited methods | |
---|---|
From
class
android.support.v4.view.AccessibilityDelegateCompat
| |
From
class
java.lang.Object
|
Public constructors
RecyclerViewAccessibilityDelegate.ItemDelegate
RecyclerViewAccessibilityDelegate.ItemDelegate (RecyclerViewAccessibilityDelegate recyclerViewDelegate)
Creates an item delegate for the given RecyclerViewAccessibilityDelegate
.
Parameters | |
---|---|
recyclerViewDelegate |
RecyclerViewAccessibilityDelegate : The parent RecyclerView's accessibility delegate.
|
Public methods
onInitializeAccessibilityNodeInfo
void onInitializeAccessibilityNodeInfo (View host, AccessibilityNodeInfoCompat info)
Initializes an AccessibilityNodeInfoCompat
with information about the host view.
The default implementation behaves as
ViewCompat#onInitializeAccessibilityNodeInfo(View, AccessibilityNodeInfoCompat)
for
the case of no accessibility delegate been set.
Parameters | |
---|---|
host |
View : The View hosting the delegate. |
info |
AccessibilityNodeInfoCompat : The instance to initialize. |
performAccessibilityAction
boolean performAccessibilityAction (View host, int action, Bundle args)
Performs the specified accessibility action on the view. For
possible accessibility actions look at AccessibilityNodeInfoCompat
.
The default implementation behaves as
View#performAccessibilityAction(int, Bundle)
for the case of
no accessibility delegate been set.
Parameters | |
---|---|
host |
View |
action |
int : The action to perform. |
args |
Bundle |
Returns | |
---|---|
boolean |
Whether the action was performed. |
Annotations
Interfaces
- ActionMenuView.OnMenuItemClickListener
- PopupMenu.OnDismissListener
- PopupMenu.OnMenuItemClickListener
- RecyclerView.ChildDrawingOrderCallback
- RecyclerView.ItemAnimator.ItemAnimatorFinishedListener
- RecyclerView.LayoutManager.LayoutPrefetchRegistry
- RecyclerView.OnChildAttachStateChangeListener
- RecyclerView.OnItemTouchListener
- RecyclerView.RecyclerListener
- RecyclerView.SmoothScroller.ScrollVectorProvider
- SearchView.OnCloseListener
- SearchView.OnQueryTextListener
- SearchView.OnSuggestionListener
- ShareActionProvider.OnShareTargetSelectedListener
- ThemedSpinnerAdapter
- Toolbar.OnMenuItemClickListener
Classes
- ActionMenuView
- ActionMenuView.LayoutParams
- AppCompatAutoCompleteTextView
- AppCompatButton
- AppCompatCheckBox
- AppCompatCheckedTextView
- AppCompatEditText
- AppCompatImageButton
- AppCompatImageView
- AppCompatMultiAutoCompleteTextView
- AppCompatRadioButton
- AppCompatRatingBar
- AppCompatSeekBar
- AppCompatSpinner
- AppCompatTextView
- CardView
- DefaultItemAnimator
- DividerItemDecoration
- GridLayout
- GridLayout.Alignment
- GridLayout.LayoutParams
- GridLayout.Spec
- GridLayoutManager
- GridLayoutManager.DefaultSpanSizeLookup
- GridLayoutManager.LayoutParams
- GridLayoutManager.SpanSizeLookup
- LinearLayoutCompat
- LinearLayoutCompat.LayoutParams
- LinearLayoutManager
- LinearLayoutManager.LayoutChunkResult
- LinearSmoothScroller
- LinearSnapHelper
- ListPopupWindow
- OrientationHelper
- PagerSnapHelper
- PopupMenu
- RecyclerView
- RecyclerView.Adapter
- RecyclerView.AdapterDataObserver
- RecyclerView.EdgeEffectFactory
- RecyclerView.ItemAnimator
- RecyclerView.ItemAnimator.ItemHolderInfo
- RecyclerView.ItemDecoration
- RecyclerView.LayoutManager
- RecyclerView.LayoutManager.Properties
- RecyclerView.LayoutParams
- RecyclerView.OnFlingListener
- RecyclerView.OnScrollListener
- RecyclerView.RecycledViewPool
- RecyclerView.Recycler
- RecyclerView.SimpleOnItemTouchListener
- RecyclerView.SmoothScroller
- RecyclerView.SmoothScroller.Action
- RecyclerView.State
- RecyclerView.ViewCacheExtension
- RecyclerView.ViewHolder
- RecyclerViewAccessibilityDelegate
- RecyclerViewAccessibilityDelegate.ItemDelegate
- SearchView
- ShareActionProvider
- SimpleItemAnimator
- SnapHelper
- StaggeredGridLayoutManager
- StaggeredGridLayoutManager.LayoutParams
- SwitchCompat
- ThemedSpinnerAdapter.Helper
- Toolbar
- Toolbar.LayoutParams
- Toolbar.SavedState
- TooltipCompat