diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..b715b453 --- /dev/null +++ b/404.html @@ -0,0 +1,634 @@ + + + + + + + + + + + + + + + + + + + + + + + DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ +

404 - Not found

+ +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/alignment/index.html b/alignment/index.html new file mode 100644 index 00000000..d901ecbd --- /dev/null +++ b/alignment/index.html @@ -0,0 +1,833 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Alignment - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Alignment

+

This section is meant to be an overview to the concepts of ParentAlignment and ChildAlignment.

+

For more detailed examples, check this section.

+

Parent Alignment

+

The parent alignment is the first configuration required for aligning views in DpadRecyclerView. +This configuration will take care of calculating the anchor position for your ViewHolders.

+

Consider the following example for a vertical DpadRecyclerView:

+

image

+

The red circle is centered both horizontally and vertically and serves as the anchor for all ViewHolders.

+

To create this configuration, you would do the following:

+
ParentAlignment(fraction = 0.5f)
+
+

You can also create a top anchor:

+

image

+

In this case, the configuration would be:

+
ParentAlignment(offset = 16.dp.toPx(), fraction = 0f)
+
+

Both offset and fraction start counting from the minimum edge of the DpadRecyclerView. For horizontal orientations, this would be the start and for vertical orientation this would be the top.

+

Aligning to an edge

+

By default, the views at the minimum and maximum edges won't be aligned to the keyline position specified by ParentAlignment. If you want to change this behavior, you need to change the edge argument of ParentAlignment:

+
ParentAlignment(edge = ParentAlignment.Edge.MIN_MAX)
+
+
    +
  • To align every view: ParentAlignment.Edge.NONE
  • +
  • To align every view except the ones at the minimum edge: ParentAlignment.Edge.MIN
  • +
  • To align every view except the ones at the maximum edge: ParentAlignment.Edge.MAX
  • +
  • To align every view except the ones at the minimum edge and maximum edge (default behavior): ParentAlignment.Edge.MIN_MAX
  • +
+

Child Alignment

+

The ChildAlignment class will take care of calculating the anchor position for your ViewHolder views.

+

Consider the following example for a horizontal DpadRecyclerView:

+

Start alignment

+

The blue circle shows the keyline position defined by ParentAlignment and the green circles shows the anchor position of each child +defined by ChildAlignment.

+

In this case, the combined configuration would be:

+
ParentAlignment(offset = 24.dp.toPx(), fraction = 0f)
+ChildAlignment(fraction = 0f)
+
+

Examples

+

For more detailed examples, check the recipes section.

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/-dpad-compose-focus-view-holder.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/-dpad-compose-focus-view-holder.html new file mode 100644 index 00000000..a7087744 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/-dpad-compose-focus-view-holder.html @@ -0,0 +1,76 @@ + + + + + DpadComposeFocusViewHolder + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadComposeFocusViewHolder

+
+
constructor(parent: ViewGroup, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, isFocusable: Boolean = true, content: @Composable (item: T) -> Unit = {})
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/get-item.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/get-item.html new file mode 100644 index 00000000..34fe0647 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/get-item.html @@ -0,0 +1,76 @@ + + + + + getItem + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getItem

+
+
fun getItem(): T?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/index.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/index.html new file mode 100644 index 00000000..1028e866 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/index.html @@ -0,0 +1,363 @@ + + + + + DpadComposeFocusViewHolder + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadComposeFocusViewHolder

+
class DpadComposeFocusViewHolder<T>(parent: ViewGroup, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, isFocusable: Boolean = true, content: @Composable (item: T) -> Unit = {}) : RecyclerView.ViewHolder

Similar to DpadComposeViewHolder, but sends the focus down to composables

This allows inline definition of ViewHolders in onCreateViewHolder:

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): DpadComposeFocusViewHolder<Int> {
return DpadComposeFocusViewHolder(parent) { item, isSelected ->
ItemComposable(item, isSelected)
}
}

To update the current item, override onBindViewHolder and call setItemState:

override fun onBindViewHolder(holder: DpadComposeFocusViewHolder<Int>, position: Int) {
holder.setItemState(getItem(position))
}
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: ViewGroup, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, isFocusable: Boolean = true, content: @Composable (item: T) -> Unit = {})
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getItem(): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setContent(content: @Composable (item: T) -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setFocusable(focusable: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setItemState(item: T?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-content.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-content.html new file mode 100644 index 00000000..f8f261e1 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-content.html @@ -0,0 +1,76 @@ + + + + + setContent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setContent

+
+
fun setContent(content: @Composable (item: T) -> Unit)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-focusable.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-focusable.html new file mode 100644 index 00000000..55b89d82 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-focusable.html @@ -0,0 +1,76 @@ + + + + + setFocusable + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusable

+
+
fun setFocusable(focusable: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-item-state.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-item-state.html new file mode 100644 index 00000000..fc8afd63 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-focus-view-holder/set-item-state.html @@ -0,0 +1,76 @@ + + + + + setItemState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setItemState

+
+
fun setItemState(item: T?)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/-dpad-compose-view-holder.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/-dpad-compose-view-holder.html new file mode 100644 index 00000000..56780e20 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/-dpad-compose-view-holder.html @@ -0,0 +1,76 @@ + + + + + DpadComposeViewHolder + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadComposeViewHolder

+
+
constructor(parent: ViewGroup, onClick: (item: T) -> Unit? = null, onLongClick: (item: T) -> Boolean? = null, isFocusable: Boolean = true, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, content: @Composable (item: T, isFocused: Boolean) -> Unit = { _, _ -> })
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/get-item.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/get-item.html new file mode 100644 index 00000000..2a8defd8 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/get-item.html @@ -0,0 +1,76 @@ + + + + + getItem + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getItem

+
+
fun getItem(): T?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/index.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/index.html new file mode 100644 index 00000000..1690aa32 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/index.html @@ -0,0 +1,348 @@ + + + + + DpadComposeViewHolder + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadComposeViewHolder

+
class DpadComposeViewHolder<T>(parent: ViewGroup, onClick: (item: T) -> Unit? = null, onLongClick: (item: T) -> Boolean? = null, isFocusable: Boolean = true, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, content: @Composable (item: T, isFocused: Boolean) -> Unit = { _, _ -> }) : RecyclerView.ViewHolder

A basic ViewHolder that forwards content to a ComposeView and handles focus and clicks inside the View system.

Focus is kept inside the internal ComposeView to ensure that it behaves correctly and to workaround the following issues:

  1. Focus is not sent correctly from Views to Composables: b/268248352 This is solved by just holding the focus in ComposeView

  2. Clicking on a focused Composable does not trigger the standard audio feedback: b/268268856 This is solved by just handling the click on ComposeView directly

This allows inline definition of ViewHolders in onCreateViewHolder:

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): DpadComposeViewHolder<Int> {
return DpadComposeViewHolder(parent) { item, isFocused ->
ItemComposable(item, isFocused)
}
}

To update the current item, override onBindViewHolder and call setItemState:

override fun onBindViewHolder(holder: DpadComposeViewHolder<Int>, position: Int) {
holder.setItemState(getItem(position))
}
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: ViewGroup, onClick: (item: T) -> Unit? = null, onLongClick: (item: T) -> Boolean? = null, isFocusable: Boolean = true, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, content: @Composable (item: T, isFocused: Boolean) -> Unit = { _, _ -> })
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getItem(): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setContent(content: @Composable (item: T) -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setItemState(item: T?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/set-content.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/set-content.html new file mode 100644 index 00000000..ea29b845 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/set-content.html @@ -0,0 +1,76 @@ + + + + + setContent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setContent

+
+
fun setContent(content: @Composable (item: T) -> Unit)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/set-item-state.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/set-item-state.html new file mode 100644 index 00000000..d9945a09 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-dpad-compose-view-holder/set-item-state.html @@ -0,0 +1,76 @@ + + + + + setItemState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setItemState

+
+
fun setItemState(item: T?)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/-dispose-on-recycled/index.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/-dispose-on-recycled/index.html new file mode 100644 index 00000000..82ffd3cd --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/-dispose-on-recycled/index.html @@ -0,0 +1,100 @@ + + + + + DisposeOnRecycled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DisposeOnRecycled

+

Similar to ViewCompositionStrategy.DisposeOnDetachedFromWindowOrReleasedFromPool but skips releasing compositions when detached from window. This is useful for re-using compositions a lot more often when scrolling a RecyclerView.

If you use DpadRecyclerView.setRecycleChildrenOnDetach, this will behave exactly the same as ViewCompositionStrategy.DisposeOnDetachedFromWindowOrReleasedFromPool.

If you use DpadRecyclerView.setExtraLayoutSpaceStrategy, please profile the compositions before considering using this strategy.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun installFor(view: AbstractComposeView): () -> Unit
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/-dispose-on-recycled/install-for.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/-dispose-on-recycled/install-for.html new file mode 100644 index 00000000..107b3c3d --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/-dispose-on-recycled/install-for.html @@ -0,0 +1,76 @@ + + + + + installFor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

installFor

+
+
open override fun installFor(view: AbstractComposeView): () -> Unit
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/index.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/index.html new file mode 100644 index 00000000..4f47d846 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/-recycler-view-composition-strategy/index.html @@ -0,0 +1,100 @@ + + + + + RecyclerViewCompositionStrategy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecyclerViewCompositionStrategy

+ +
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Similar to ViewCompositionStrategy.DisposeOnDetachedFromWindowOrReleasedFromPool but skips releasing compositions when detached from window. This is useful for re-using compositions a lot more often when scrolling a RecyclerView.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/dpad-clickable.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/dpad-clickable.html new file mode 100644 index 00000000..a2056775 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/dpad-clickable.html @@ -0,0 +1,76 @@ + + + + + dpadClickable + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dpadClickable

+
+

Similar to Modifier.clickable, but triggers a sound effect on click. Workaround for: https://issuetracker.google.com/issues/268268856

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/index.html b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/index.html new file mode 100644 index 00000000..59dedac0 --- /dev/null +++ b/api/dpadrecyclerview-compose/com.rubensousa.dpadrecyclerview.compose/index.html @@ -0,0 +1,148 @@ + + + + + com.rubensousa.dpadrecyclerview.compose + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
class DpadComposeFocusViewHolder<T>(parent: ViewGroup, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, isFocusable: Boolean = true, content: @Composable (item: T) -> Unit = {}) : RecyclerView.ViewHolder

Similar to DpadComposeViewHolder, but sends the focus down to composables

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class DpadComposeViewHolder<T>(parent: ViewGroup, onClick: (item: T) -> Unit? = null, onLongClick: (item: T) -> Boolean? = null, isFocusable: Boolean = true, compositionStrategy: ViewCompositionStrategy = RecyclerViewCompositionStrategy.DisposeOnRecycled, content: @Composable (item: T, isFocused: Boolean) -> Unit = { _, _ -> }) : RecyclerView.ViewHolder

A basic ViewHolder that forwards content to a ComposeView and handles focus and clicks inside the View system.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Similar to Modifier.clickable, but triggers a sound effect on click. Workaround for: https://issuetracker.google.com/issues/268268856

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/index.html b/api/dpadrecyclerview-compose/index.html new file mode 100644 index 00000000..c0b4cdb6 --- /dev/null +++ b/api/dpadrecyclerview-compose/index.html @@ -0,0 +1,95 @@ + + + + + dpadrecyclerview-compose + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dpadrecyclerview-compose

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-compose/navigation.html b/api/dpadrecyclerview-compose/navigation.html new file mode 100644 index 00000000..1cd820d5 --- /dev/null +++ b/api/dpadrecyclerview-compose/navigation.html @@ -0,0 +1,422 @@ +
+
+ +
+ +
+ +
+
+ CREATOR +
+
+
+
+ +
+ +
+
+ +
+
+
+ +
+
+ NONE +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+ + + + +
+ +
+ +
+ +
+
+ STANDARD +
+
+
+
+ CIRCULAR +
+
+
+ +
+
+ + + +
+ +
+
+ CREATOR +
+
+
+
+ Edge +
+
+
+ NONE +
+
+
+
+ MIN +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+
+
+ +
+
+ CREATOR +
+
+
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ + + + +
+
+ + +
+
+ + + + + + +
+
diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/execute-for-view-holder-item-view-at.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/execute-for-view-holder-item-view-at.html new file mode 100644 index 00000000..acb42fca --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/execute-for-view-holder-item-view-at.html @@ -0,0 +1,76 @@ + + + + + executeForViewHolderItemViewAt + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

executeForViewHolderItemViewAt

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/execute.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/execute.html new file mode 100644 index 00000000..56a3523d --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/execute.html @@ -0,0 +1,76 @@ + + + + + execute + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

execute

+
+
fun execute(label: String, action: (recyclerView: DpadRecyclerView) -> Unit): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/get-item-view-bounds.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/get-item-view-bounds.html new file mode 100644 index 00000000..4c28c4cc --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/get-item-view-bounds.html @@ -0,0 +1,76 @@ + + + + + getItemViewBounds + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getItemViewBounds

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/get-relative-item-view-bounds.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/get-relative-item-view-bounds.html new file mode 100644 index 00000000..63682259 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/get-relative-item-view-bounds.html @@ -0,0 +1,76 @@ + + + + + getRelativeItemViewBounds + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getRelativeItemViewBounds

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/index.html new file mode 100644 index 00000000..f8b595fc --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/index.html @@ -0,0 +1,280 @@ + + + + + DpadRecyclerViewActions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadRecyclerViewActions

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun execute(label: String, action: (recyclerView: DpadRecyclerView) -> Unit): ViewAction
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : RecyclerView.ViewHolder> scrollTo(itemViewMatcher: Matcher<View>, keyPressDelay: Int = DEFAULT_KEY_PRESS_DELAY): RecyclerViewActions.PositionableRecyclerViewAction

Similar to RecyclerViewActions.scrollToHolder, but instead of invoking scrollToPosition, it injects KeyEvents to simulate real DPAD events from the user

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : RecyclerView.ViewHolder> scrollToHolder(viewHolderMatcher: Matcher<T>, keyPressDelay: Int = DEFAULT_KEY_PRESS_DELAY): RecyclerViewActions.PositionableRecyclerViewAction

Similar to RecyclerViewActions.scrollToHolder, but instead of invoking scrollToPosition, it injects KeyEvents to simulate real DPAD events from the user

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun selectLastPosition(smooth: Boolean, onPositionSelected: (position: Int) -> Unit = {}): ViewAction
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun selectPosition(position: Int, subPosition: Int = 0, smooth: Boolean = true): ViewAction
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun selectSubPosition(subPosition: Int, smooth: Boolean = true): ViewAction
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun waitForAdapterUpdate(updates: Int = 1, failOnTimeout: Boolean = false, timeout: Long = 2, timeoutUnit: TimeUnit = TimeUnit.SECONDS): ViewAction
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun waitForIdleScroll(timeout: Long = 5, timeoutUnit: TimeUnit = TimeUnit.SECONDS): ViewAction
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/scroll-to-holder.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/scroll-to-holder.html new file mode 100644 index 00000000..6be0904f --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/scroll-to-holder.html @@ -0,0 +1,76 @@ + + + + + scrollToHolder + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scrollToHolder

+
+
fun <T : RecyclerView.ViewHolder> scrollToHolder(viewHolderMatcher: Matcher<T>, keyPressDelay: Int = DEFAULT_KEY_PRESS_DELAY): RecyclerViewActions.PositionableRecyclerViewAction

Similar to RecyclerViewActions.scrollToHolder, but instead of invoking scrollToPosition, it injects KeyEvents to simulate real DPAD events from the user

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/scroll-to.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/scroll-to.html new file mode 100644 index 00000000..3877926d --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/scroll-to.html @@ -0,0 +1,76 @@ + + + + + scrollTo + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scrollTo

+
+
fun <T : RecyclerView.ViewHolder> scrollTo(itemViewMatcher: Matcher<View>, keyPressDelay: Int = DEFAULT_KEY_PRESS_DELAY): RecyclerViewActions.PositionableRecyclerViewAction

Similar to RecyclerViewActions.scrollToHolder, but instead of invoking scrollToPosition, it injects KeyEvents to simulate real DPAD events from the user

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-last-position.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-last-position.html new file mode 100644 index 00000000..8109afd5 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-last-position.html @@ -0,0 +1,76 @@ + + + + + selectLastPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

selectLastPosition

+
+
fun selectLastPosition(smooth: Boolean, onPositionSelected: (position: Int) -> Unit = {}): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-position.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-position.html new file mode 100644 index 00000000..6583bcb8 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-position.html @@ -0,0 +1,76 @@ + + + + + selectPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

selectPosition

+
+
fun selectPosition(position: Int, subPosition: Int = 0, smooth: Boolean = true): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-sub-position.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-sub-position.html new file mode 100644 index 00000000..e83e1ac1 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/select-sub-position.html @@ -0,0 +1,76 @@ + + + + + selectSubPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

selectSubPosition

+
+
fun selectSubPosition(subPosition: Int, smooth: Boolean = true): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/update-child-alignment.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/update-child-alignment.html new file mode 100644 index 00000000..9a8e8039 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/update-child-alignment.html @@ -0,0 +1,76 @@ + + + + + updateChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

updateChildAlignment

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/update-parent-alignment.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/update-parent-alignment.html new file mode 100644 index 00000000..39c8b13a --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/update-parent-alignment.html @@ -0,0 +1,76 @@ + + + + + updateParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

updateParentAlignment

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/wait-for-adapter-update.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/wait-for-adapter-update.html new file mode 100644 index 00000000..a91b18cb --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/wait-for-adapter-update.html @@ -0,0 +1,76 @@ + + + + + waitForAdapterUpdate + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

waitForAdapterUpdate

+
+
fun waitForAdapterUpdate(updates: Int = 1, failOnTimeout: Boolean = false, timeout: Long = 2, timeoutUnit: TimeUnit = TimeUnit.SECONDS): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/wait-for-idle-scroll.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/wait-for-idle-scroll.html new file mode 100644 index 00000000..ab7d4c47 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-recycler-view-actions/wait-for-idle-scroll.html @@ -0,0 +1,76 @@ + + + + + waitForIdleScroll + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

waitForIdleScroll

+
+
fun waitForIdleScroll(timeout: Long = 5, timeoutUnit: TimeUnit = TimeUnit.SECONDS): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/-dpad-view-action.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/-dpad-view-action.html new file mode 100644 index 00000000..0a15c782 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/-dpad-view-action.html @@ -0,0 +1,76 @@ + + + + + DpadViewAction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadViewAction

+
+
constructor(description: String)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/get-constraints.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/get-constraints.html new file mode 100644 index 00000000..3f843ea4 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/get-constraints.html @@ -0,0 +1,76 @@ + + + + + getConstraints + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getConstraints

+
+
open override fun getConstraints(): Matcher<View>
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/get-description.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/get-description.html new file mode 100644 index 00000000..b3ddd1cd --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/get-description.html @@ -0,0 +1,76 @@ + + + + + getDescription + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDescription

+
+
open override fun getDescription(): String
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/index.html new file mode 100644 index 00000000..b9d0a3e2 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/-dpad-view-action/index.html @@ -0,0 +1,149 @@ + + + + + DpadViewAction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadViewAction

+
abstract class DpadViewAction(description: String) : ViewAction
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(description: String)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getConstraints(): Matcher<View>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDescription(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun perform(p0: UiController, p1: View)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/clear-focus.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/clear-focus.html new file mode 100644 index 00000000..d7b9a1a1 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/clear-focus.html @@ -0,0 +1,76 @@ + + + + + clearFocus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearFocus

+
+

Note: this will only work if there's something else in your View hierarchy that can take focus

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/get-relative-view-bounds.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/get-relative-view-bounds.html new file mode 100644 index 00000000..b901c92c --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/get-relative-view-bounds.html @@ -0,0 +1,76 @@ + + + + + getRelativeViewBounds + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getRelativeViewBounds

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/get-view-bounds.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/get-view-bounds.html new file mode 100644 index 00000000..925fe2f9 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/get-view-bounds.html @@ -0,0 +1,76 @@ + + + + + getViewBounds + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getViewBounds

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/index.html new file mode 100644 index 00000000..4097528a --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/index.html @@ -0,0 +1,179 @@ + + + + + DpadViewActions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadViewActions

+

Useful ViewAction for plain views

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class DpadViewAction(description: String) : ViewAction
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Note: this will only work if there's something else in your View hierarchy that can take focus

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : View> waitForCondition(description: String, condition: (view: T) -> Boolean, timeout: Long = 2, timeoutUnit: TimeUnit = TimeUnit.SECONDS): ViewAction
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/request-focus.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/request-focus.html new file mode 100644 index 00000000..b5e018da --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/request-focus.html @@ -0,0 +1,76 @@ + + + + + requestFocus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

requestFocus

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/wait-for-condition.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/wait-for-condition.html new file mode 100644 index 00000000..e6066f86 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/-dpad-view-actions/wait-for-condition.html @@ -0,0 +1,76 @@ + + + + + waitForCondition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

waitForCondition

+
+
fun <T : View> waitForCondition(description: String, condition: (view: T) -> Boolean, timeout: Long = 2, timeoutUnit: TimeUnit = TimeUnit.SECONDS): ViewAction
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/index.html new file mode 100644 index 00000000..19991859 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.actions/index.html @@ -0,0 +1,114 @@ + + + + + com.rubensousa.dpadrecyclerview.testing.actions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Useful ViewAction for plain views

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/index.html new file mode 100644 index 00000000..e115f654 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/index.html @@ -0,0 +1,115 @@ + + + + + DpadRecyclerViewAssertions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadRecyclerViewAssertions

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun isFocused(position: Int, subPosition: Int = 0): ViewAssertion
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun isSelected(position: Int, subPosition: Int = 0): ViewAssertion
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/is-focused.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/is-focused.html new file mode 100644 index 00000000..48dd4c6f --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/is-focused.html @@ -0,0 +1,76 @@ + + + + + isFocused + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFocused

+
+
fun isFocused(position: Int, subPosition: Int = 0): ViewAssertion
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/is-selected.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/is-selected.html new file mode 100644 index 00000000..f8cee87b --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-recycler-view-assertions/is-selected.html @@ -0,0 +1,76 @@ + + + + + isSelected + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isSelected

+
+
fun isSelected(position: Int, subPosition: Int = 0): ViewAssertion
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/does-not-have-focus.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/does-not-have-focus.html new file mode 100644 index 00000000..fc6b4e59 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/does-not-have-focus.html @@ -0,0 +1,76 @@ + + + + + doesNotHaveFocus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

doesNotHaveFocus

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/has-focus.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/has-focus.html new file mode 100644 index 00000000..d6c506b7 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/has-focus.html @@ -0,0 +1,76 @@ + + + + + hasFocus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

hasFocus

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/index.html new file mode 100644 index 00000000..3e9a2068 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/index.html @@ -0,0 +1,145 @@ + + + + + DpadViewAssertions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadViewAssertions

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/is-focused.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/is-focused.html new file mode 100644 index 00000000..2afd727b --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/is-focused.html @@ -0,0 +1,76 @@ + + + + + isFocused + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFocused

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/is-not-focused.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/is-not-focused.html new file mode 100644 index 00000000..c67b3c40 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/-dpad-view-assertions/is-not-focused.html @@ -0,0 +1,76 @@ + + + + + isNotFocused + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isNotFocused

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/index.html new file mode 100644 index 00000000..e61dbac1 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.assertions/index.html @@ -0,0 +1,114 @@ + + + + + com.rubensousa.dpadrecyclerview.testing.assertions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/-dpad-recycler-view-matchers/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/-dpad-recycler-view-matchers/index.html new file mode 100644 index 00000000..af334712 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/-dpad-recycler-view-matchers/index.html @@ -0,0 +1,100 @@ + + + + + DpadRecyclerViewMatchers + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadRecyclerViewMatchers

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun withDescendantOfItemViewAt(position: Int): Matcher<View>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/-dpad-recycler-view-matchers/with-descendant-of-item-view-at.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/-dpad-recycler-view-matchers/with-descendant-of-item-view-at.html new file mode 100644 index 00000000..7dd0d894 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/-dpad-recycler-view-matchers/with-descendant-of-item-view-at.html @@ -0,0 +1,76 @@ + + + + + withDescendantOfItemViewAt + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

withDescendantOfItemViewAt

+
+
fun withDescendantOfItemViewAt(position: Int): Matcher<View>

Return

a Matcher for a view that's inside a RecyclerView.ViewHolder at position position

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/index.html new file mode 100644 index 00000000..916a4362 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.matchers/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.dpadrecyclerview.testing.matchers + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/-disable-idle-timeout-rule.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/-disable-idle-timeout-rule.html new file mode 100644 index 00000000..b51766e8 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/-disable-idle-timeout-rule.html @@ -0,0 +1,76 @@ + + + + + DisableIdleTimeoutRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DisableIdleTimeoutRule

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/apply.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/apply.html new file mode 100644 index 00000000..f09d1955 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/apply.html @@ -0,0 +1,76 @@ + + + + + apply + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

apply

+
+
open override fun apply(base: Statement, description: Description): Statement
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/index.html new file mode 100644 index 00000000..c3c8287a --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/-disable-idle-timeout-rule/index.html @@ -0,0 +1,119 @@ + + + + + DisableIdleTimeoutRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DisableIdleTimeoutRule

+
class DisableIdleTimeoutRule : TestRule

Disables the default idle timeout of UiAutomator to speed up key events

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(base: Statement, description: Description): Statement
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/index.html new file mode 100644 index 00000000..a62a09c2 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing.rules/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.dpadrecyclerview.testing.rules + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
class DisableIdleTimeoutRule : TestRule

Disables the default idle timeout of UiAutomator to speed up key events

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/back.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/back.html new file mode 100644 index 00000000..4336e538 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/back.html @@ -0,0 +1,76 @@ + + + + + back + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

back

+
+
fun back(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/click.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/click.html new file mode 100644 index 00000000..f338595c --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/click.html @@ -0,0 +1,76 @@ + + + + + click + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

click

+
+
fun click(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/index.html new file mode 100644 index 00000000..b619e474 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/index.html @@ -0,0 +1,190 @@ + + + + + KeyEvents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

KeyEvents

+
object KeyEvents
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun back(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun click(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pressDown(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pressKey(key: Int, times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pressLeft(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pressRight(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pressUp(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-down.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-down.html new file mode 100644 index 00000000..3153ed2d --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-down.html @@ -0,0 +1,76 @@ + + + + + pressDown + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pressDown

+
+
fun pressDown(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-key.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-key.html new file mode 100644 index 00000000..89ab2757 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-key.html @@ -0,0 +1,76 @@ + + + + + pressKey + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pressKey

+
+
fun pressKey(key: Int, times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-left.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-left.html new file mode 100644 index 00000000..b4359d24 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-left.html @@ -0,0 +1,76 @@ + + + + + pressLeft + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pressLeft

+
+
fun pressLeft(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-right.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-right.html new file mode 100644 index 00000000..3e989ec2 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-right.html @@ -0,0 +1,76 @@ + + + + + pressRight + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pressRight

+
+
fun pressRight(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-up.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-up.html new file mode 100644 index 00000000..75b9f111 --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/-key-events/press-up.html @@ -0,0 +1,76 @@ + + + + + pressUp + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pressUp

+
+
fun pressUp(times: Int = 1, delay: Long = DEFAULT_KEY_PRESS_DELAY)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/index.html b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/index.html new file mode 100644 index 00000000..b324eebc --- /dev/null +++ b/api/dpadrecyclerview-testing/com.rubensousa.dpadrecyclerview.testing/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.dpadrecyclerview.testing + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object KeyEvents
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/index.html b/api/dpadrecyclerview-testing/index.html new file mode 100644 index 00000000..8f3d07e2 --- /dev/null +++ b/api/dpadrecyclerview-testing/index.html @@ -0,0 +1,167 @@ + + + + + dpadrecyclerview-testing + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dpadrecyclerview-testing

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview-testing/navigation.html b/api/dpadrecyclerview-testing/navigation.html new file mode 100644 index 00000000..1cd820d5 --- /dev/null +++ b/api/dpadrecyclerview-testing/navigation.html @@ -0,0 +1,422 @@ +
+
+ +
+ +
+ +
+
+ CREATOR +
+
+
+
+ +
+ +
+
+ +
+
+
+ +
+
+ NONE +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+ + + + +
+ +
+ +
+ +
+
+ STANDARD +
+
+
+
+ CIRCULAR +
+
+
+ +
+
+ + + +
+ +
+
+ CREATOR +
+
+
+
+ Edge +
+
+
+ NONE +
+
+
+
+ MIN +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+
+
+ +
+
+ CREATOR +
+
+
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ + + + +
+
+ + +
+
+ + + + + + +
+
diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/-view-bounds.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/-view-bounds.html new file mode 100644 index 00000000..02bda93b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/-view-bounds.html @@ -0,0 +1,76 @@ + + + + + ViewBounds + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ViewBounds

+
+
constructor(left: Int = 0, top: Int = 0, right: Int = 0, bottom: Int = 0)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/as-rect.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/as-rect.html new file mode 100644 index 00000000..6b0d8906 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/as-rect.html @@ -0,0 +1,76 @@ + + + + + asRect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asRect

+
+
fun asRect(): Rect
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/bottom.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/bottom.html new file mode 100644 index 00000000..1ea2cf41 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/bottom.html @@ -0,0 +1,76 @@ + + + + + bottom + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

bottom

+
+
var bottom: Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/height.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/height.html new file mode 100644 index 00000000..4b18f11d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/height.html @@ -0,0 +1,76 @@ + + + + + height + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

height

+
+
val height: Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/index.html new file mode 100644 index 00000000..821177a5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/index.html @@ -0,0 +1,273 @@ + + + + + ViewBounds + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ViewBounds

+
data class ViewBounds(var left: Int = 0, var top: Int = 0, var right: Int = 0, var bottom: Int = 0)

Replaces Rect for unit testing purposes

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(left: Int = 0, top: Int = 0, right: Int = 0, bottom: Int = 0)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
var bottom: Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val height: Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var left: Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var right: Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var top: Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val width: Int
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun asRect(): Rect
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setEmpty()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/left.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/left.html new file mode 100644 index 00000000..16dc0de5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/left.html @@ -0,0 +1,76 @@ + + + + + left + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

left

+
+
var left: Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/offset-horizontal.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/offset-horizontal.html new file mode 100644 index 00000000..621f454a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/offset-horizontal.html @@ -0,0 +1,76 @@ + + + + + offsetHorizontal + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offsetHorizontal

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/offset-vertical.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/offset-vertical.html new file mode 100644 index 00000000..e49cfd05 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/offset-vertical.html @@ -0,0 +1,76 @@ + + + + + offsetVertical + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offsetVertical

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/right.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/right.html new file mode 100644 index 00000000..7f106a50 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/right.html @@ -0,0 +1,76 @@ + + + + + right + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

right

+
+
var right: Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/set-empty.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/set-empty.html new file mode 100644 index 00000000..7126df78 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/set-empty.html @@ -0,0 +1,76 @@ + + + + + setEmpty + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setEmpty

+
+
fun setEmpty()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/to-string.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/to-string.html new file mode 100644 index 00000000..f4c53fb1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toString

+
+
open override fun toString(): String
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/top.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/top.html new file mode 100644 index 00000000..8b38f514 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/top.html @@ -0,0 +1,76 @@ + + + + + top + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

top

+
+
var top: Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/width.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/width.html new file mode 100644 index 00000000..93457830 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/-view-bounds/width.html @@ -0,0 +1,76 @@ + + + + + width + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

width

+
+
val width: Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/index.html new file mode 100644 index 00000000..e93432be --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/index.html @@ -0,0 +1,133 @@ + + + + + com.rubensousa.dpadrecyclerview.layoutmanager.layout + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ViewBounds(var left: Int = 0, var top: Int = 0, var right: Int = 0, var bottom: Int = 0)

Replaces Rect for unit testing purposes

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/offset-horizontally-by.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/offset-horizontally-by.html new file mode 100644 index 00000000..57647f2a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/offset-horizontally-by.html @@ -0,0 +1,76 @@ + + + + + offsetHorizontallyBy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offsetHorizontallyBy

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/offset-vertically-by.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/offset-vertically-by.html new file mode 100644 index 00000000..551b01ca --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager.layout/offset-vertically-by.html @@ -0,0 +1,76 @@ + + + + + offsetVerticallyBy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offsetVerticallyBy

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-companion/-i-n-v-a-l-i-d_-s-p-a-n_-i-d.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-companion/-i-n-v-a-l-i-d_-s-p-a-n_-i-d.html new file mode 100644 index 00000000..7805be75 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-companion/-i-n-v-a-l-i-d_-s-p-a-n_-i-d.html @@ -0,0 +1,76 @@ + + + + + INVALID_SPAN_ID + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

INVALID_SPAN_ID

+
+
const val INVALID_SPAN_ID: Int

Views that haven't been laid out yet will have this in spanIndex and spanGroupIndex

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-companion/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-companion/index.html new file mode 100644 index 00000000..a3965402 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val INVALID_SPAN_ID: Int

Views that haven't been laid out yet will have this in spanIndex and spanGroupIndex

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-dpad-layout-params.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-dpad-layout-params.html new file mode 100644 index 00000000..1381ba81 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/-dpad-layout-params.html @@ -0,0 +1,76 @@ + + + + + DpadLayoutParams + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadLayoutParams

+
+
constructor(context: Context, attrs: AttributeSet)
constructor(width: Int, height: Int)
constructor(source: ViewGroup.MarginLayoutParams)
constructor(source: ViewGroup.LayoutParams)
constructor(source: RecyclerView.LayoutParams)
constructor(source: DpadLayoutParams)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/alignment-anchor.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/alignment-anchor.html new file mode 100644 index 00000000..20077183 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/alignment-anchor.html @@ -0,0 +1,76 @@ + + + + + alignmentAnchor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

alignmentAnchor

+
+

Anchor alignment position. Always applied from start to end

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/index.html new file mode 100644 index 00000000..24814b93 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/index.html @@ -0,0 +1,562 @@ + + + + + DpadLayoutParams + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadLayoutParams

+ +
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(context: Context, attrs: AttributeSet)
constructor(width: Int, height: Int)
constructor(source: ViewGroup.MarginLayoutParams)
constructor(source: ViewGroup.LayoutParams)
constructor(source: RecyclerView.LayoutParams)
constructor(source: DpadLayoutParams)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Anchor alignment position. Always applied from start to end

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var height: Int
+
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Current span group index (row index) as of the latest layout pass

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Current span index (column index) as of the latest layout pass

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Current span size as of the latest layout pass

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var width: Int
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMarginEnd(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMarginStart(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getViewPosition(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun resolveLayoutDirection(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLayoutDirection(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setMarginEnd(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setMargins(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setMarginStart(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-group-index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-group-index.html new file mode 100644 index 00000000..339e2934 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-group-index.html @@ -0,0 +1,76 @@ + + + + + spanGroupIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

spanGroupIndex

+
+

Current span group index (row index) as of the latest layout pass

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-index.html new file mode 100644 index 00000000..f1cba047 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-index.html @@ -0,0 +1,76 @@ + + + + + spanIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

spanIndex

+
+

Current span index (column index) as of the latest layout pass

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-size.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-size.html new file mode 100644 index 00000000..8668faea --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-dpad-layout-params/span-size.html @@ -0,0 +1,76 @@ + + + + + spanSize + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

spanSize

+
+

Current span size as of the latest layout pass

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/-pivot-layout-manager.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/-pivot-layout-manager.html new file mode 100644 index 00000000..28db5055 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/-pivot-layout-manager.html @@ -0,0 +1,76 @@ + + + + + PivotLayoutManager + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

PivotLayoutManager

+
+
constructor(properties: RecyclerView.LayoutManager.Properties)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-layout-completed-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-layout-completed-listener.html new file mode 100644 index 00000000..5690c850 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-layout-completed-listener.html @@ -0,0 +1,76 @@ + + + + + addOnLayoutCompletedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addOnLayoutCompletedListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-view-focused-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-view-focused-listener.html new file mode 100644 index 00000000..41be36de --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-view-focused-listener.html @@ -0,0 +1,76 @@ + + + + + addOnViewFocusedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addOnViewFocusedListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-view-holder-selected-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-view-holder-selected-listener.html new file mode 100644 index 00000000..47db404a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/add-on-view-holder-selected-listener.html @@ -0,0 +1,76 @@ + + + + + addOnViewHolderSelectedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addOnViewHolderSelectedListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/can-scroll-horizontally.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/can-scroll-horizontally.html new file mode 100644 index 00000000..2dd684a4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/can-scroll-horizontally.html @@ -0,0 +1,76 @@ + + + + + canScrollHorizontally + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

canScrollHorizontally

+
+
open override fun canScrollHorizontally(): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/can-scroll-vertically.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/can-scroll-vertically.html new file mode 100644 index 00000000..eb7287c1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/can-scroll-vertically.html @@ -0,0 +1,76 @@ + + + + + canScrollVertically + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

canScrollVertically

+
+
open override fun canScrollVertically(): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/check-layout-params.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/check-layout-params.html new file mode 100644 index 00000000..6708b411 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/check-layout-params.html @@ -0,0 +1,76 @@ + + + + + checkLayoutParams + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

checkLayoutParams

+
+
open override fun checkLayoutParams(layoutParams: RecyclerView.LayoutParams?): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-layout-completed-listeners.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-layout-completed-listeners.html new file mode 100644 index 00000000..c5758f54 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-layout-completed-listeners.html @@ -0,0 +1,76 @@ + + + + + clearOnLayoutCompletedListeners + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearOnLayoutCompletedListeners

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-view-focused-listeners.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-view-focused-listeners.html new file mode 100644 index 00000000..424d5e75 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-view-focused-listeners.html @@ -0,0 +1,76 @@ + + + + + clearOnViewFocusedListeners + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearOnViewFocusedListeners

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-view-holder-selected-listeners.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-view-holder-selected-listeners.html new file mode 100644 index 00000000..c8d79487 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/clear-on-view-holder-selected-listeners.html @@ -0,0 +1,76 @@ + + + + + clearOnViewHolderSelectedListeners + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearOnViewHolderSelectedListeners

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/collect-adjacent-prefetch-positions.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/collect-adjacent-prefetch-positions.html new file mode 100644 index 00000000..b7a97959 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/collect-adjacent-prefetch-positions.html @@ -0,0 +1,76 @@ + + + + + collectAdjacentPrefetchPositions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

collectAdjacentPrefetchPositions

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/collect-initial-prefetch-positions.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/collect-initial-prefetch-positions.html new file mode 100644 index 00000000..a8585f5c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/collect-initial-prefetch-positions.html @@ -0,0 +1,76 @@ + + + + + collectInitialPrefetchPositions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

collectInitialPrefetchPositions

+
+
open override fun collectInitialPrefetchPositions(adapterItemCount: Int, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-extent.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-extent.html new file mode 100644 index 00000000..42a4ac6c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-extent.html @@ -0,0 +1,76 @@ + + + + + computeHorizontalScrollExtent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeHorizontalScrollExtent

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-offset.html new file mode 100644 index 00000000..70617dd3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-offset.html @@ -0,0 +1,76 @@ + + + + + computeHorizontalScrollOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeHorizontalScrollOffset

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-range.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-range.html new file mode 100644 index 00000000..9523676f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-horizontal-scroll-range.html @@ -0,0 +1,76 @@ + + + + + computeHorizontalScrollRange + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeHorizontalScrollRange

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-scroll-vector-for-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-scroll-vector-for-position.html new file mode 100644 index 00000000..3ba572c4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-scroll-vector-for-position.html @@ -0,0 +1,76 @@ + + + + + computeScrollVectorForPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeScrollVectorForPosition

+
+
open override fun computeScrollVectorForPosition(targetPosition: Int): PointF?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-extent.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-extent.html new file mode 100644 index 00000000..60239599 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-extent.html @@ -0,0 +1,76 @@ + + + + + computeVerticalScrollExtent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeVerticalScrollExtent

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-offset.html new file mode 100644 index 00000000..6333e137 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-offset.html @@ -0,0 +1,76 @@ + + + + + computeVerticalScrollOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeVerticalScrollOffset

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-range.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-range.html new file mode 100644 index 00000000..5caedb1c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/compute-vertical-scroll-range.html @@ -0,0 +1,76 @@ + + + + + computeVerticalScrollRange + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

computeVerticalScrollRange

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-first-completely-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-first-completely-visible-item-position.html new file mode 100644 index 00000000..c31dbed1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-first-completely-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findFirstCompletelyVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findFirstCompletelyVisibleItemPosition

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-first-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-first-visible-item-position.html new file mode 100644 index 00000000..8572f36d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-first-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findFirstVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findFirstVisibleItemPosition

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-last-completely-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-last-completely-visible-item-position.html new file mode 100644 index 00000000..22af492c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-last-completely-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findLastCompletelyVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findLastCompletelyVisibleItemPosition

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-last-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-last-visible-item-position.html new file mode 100644 index 00000000..cfb0be69 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/find-last-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findLastVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findLastVisibleItemPosition

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/generate-default-layout-params.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/generate-default-layout-params.html new file mode 100644 index 00000000..aec333cf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/generate-default-layout-params.html @@ -0,0 +1,76 @@ + + + + + generateDefaultLayoutParams + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

generateDefaultLayoutParams

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/generate-layout-params.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/generate-layout-params.html new file mode 100644 index 00000000..88280770 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/generate-layout-params.html @@ -0,0 +1,76 @@ + + + + + generateLayoutParams + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

generateLayoutParams

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-child-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-child-alignment.html new file mode 100644 index 00000000..1bc41d79 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-child-alignment.html @@ -0,0 +1,76 @@ + + + + + getChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getChildAlignment

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-column-count-for-accessibility.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-column-count-for-accessibility.html new file mode 100644 index 00000000..24621f2e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-column-count-for-accessibility.html @@ -0,0 +1,76 @@ + + + + + getColumnCountForAccessibility + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getColumnCountForAccessibility

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-current-sub-positions.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-current-sub-positions.html new file mode 100644 index 00000000..29d0d64f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-current-sub-positions.html @@ -0,0 +1,76 @@ + + + + + getCurrentSubPositions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getCurrentSubPositions

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-focusable-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-focusable-direction.html new file mode 100644 index 00000000..0f999545 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-focusable-direction.html @@ -0,0 +1,76 @@ + + + + + getFocusableDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getFocusableDirection

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-loop-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-loop-direction.html new file mode 100644 index 00000000..c32a9fad --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-loop-direction.html @@ -0,0 +1,76 @@ + + + + + getLoopDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getLoopDirection

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-max-pending-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-max-pending-alignments.html new file mode 100644 index 00000000..f1941b64 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-max-pending-alignments.html @@ -0,0 +1,76 @@ + + + + + getMaxPendingAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMaxPendingAlignments

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-max-pending-moves.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-max-pending-moves.html new file mode 100644 index 00000000..abfbdcf7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-max-pending-moves.html @@ -0,0 +1,76 @@ + + + + + getMaxPendingMoves + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMaxPendingMoves

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-parent-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-parent-alignment.html new file mode 100644 index 00000000..bc6ebdd1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-parent-alignment.html @@ -0,0 +1,76 @@ + + + + + getParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getParentAlignment

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-row-count-for-accessibility.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-row-count-for-accessibility.html new file mode 100644 index 00000000..f8e0f9b9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-row-count-for-accessibility.html @@ -0,0 +1,76 @@ + + + + + getRowCountForAccessibility + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getRowCountForAccessibility

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-selected-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-selected-position.html new file mode 100644 index 00000000..12acfaf6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-selected-position.html @@ -0,0 +1,76 @@ + + + + + getSelectedPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSelectedPosition

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-selected-sub-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-selected-sub-position.html new file mode 100644 index 00000000..d0a0de21 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-selected-sub-position.html @@ -0,0 +1,76 @@ + + + + + getSelectedSubPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSelectedSubPosition

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-smooth-scroll-speed-factor.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-smooth-scroll-speed-factor.html new file mode 100644 index 00000000..34b9de9c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-smooth-scroll-speed-factor.html @@ -0,0 +1,76 @@ + + + + + getSmoothScrollSpeedFactor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSmoothScrollSpeedFactor

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-span-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-span-count.html new file mode 100644 index 00000000..7440c098 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-span-count.html @@ -0,0 +1,76 @@ + + + + + getSpanCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanCount

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-span-size-lookup.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-span-size-lookup.html new file mode 100644 index 00000000..7e49687a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/get-span-size-lookup.html @@ -0,0 +1,76 @@ + + + + + getSpanSizeLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanSizeLookup

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/index.html new file mode 100644 index 00000000..f0fd81f5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/index.html @@ -0,0 +1,2834 @@ + + + + + PivotLayoutManager + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

PivotLayoutManager

+

A RecyclerView.LayoutManager that builds the layout around a pivot view.

It behaves similarly to GridLayoutManager with the main difference being how focus is handled.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(properties: RecyclerView.LayoutManager.Properties)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun addDisappearingView(p0: View, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun addView(p0: View)
open fun addView(p0: View, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun attachView(@NonNull p0: View)
open fun attachView(@NonNull p0: View, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun canScrollHorizontally(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun canScrollVertically(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkLayoutParams(layoutParams: RecyclerView.LayoutParams?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun collectInitialPrefetchPositions(adapterItemCount: Int, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeScrollVectorForPosition(targetPosition: Int): PointF?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun detachView(@NonNull p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun detachViewAt(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun endAnimation(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getBaseline(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getChildAt(p0: Int): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getChildCount(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDecoratedLeft(@NonNull p0: View): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDecoratedTop(@NonNull p0: View): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getHeight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getHeightMode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getItemCount(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getItemViewType(@NonNull p0: View): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMinimumHeight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMinimumWidth(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingBottom(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingEnd(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingLeft(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingRight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingStart(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingTop(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPosition(@NonNull p0: View): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getWidth(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getWidthMode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun hasFocus(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun ignoreView(@NonNull p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isAutoMeasureEnabled(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isFocused(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isLayoutReversed(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun layoutDecorated(@NonNull p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun layoutDecoratedWithMargins(@NonNull p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun measureChild(@NonNull p0: View, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun measureChildWithMargins(@NonNull p0: View, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun moveView(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun offsetChildrenVertical(@Px p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onAdapterChanged(oldAdapter: RecyclerView.Adapter<*>?, newAdapter: RecyclerView.Adapter<*>?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onAddFocusables(recyclerView: RecyclerView, views: ArrayList<View>, direction: Int, focusableMode: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onAttachedToWindow(view: RecyclerView)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onInterceptFocusSearch(focused: View, direction: Int): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onItemsAdded(recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onItemsChanged(recyclerView: RecyclerView)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onItemsMoved(recyclerView: RecyclerView, from: Int, to: Int, itemCount: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onItemsRemoved(recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onItemsUpdated(@NonNull p0: RecyclerView, p1: Int, p2: Int)
open fun onItemsUpdated(@NonNull p0: RecyclerView, p1: Int, p2: Int, @Nullable p3: Any?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onLayoutChildren(recycler: RecyclerView.Recycler, state: RecyclerView.State)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onLayoutCompleted(state: RecyclerView.State)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onRequestChildFocus(parent: RecyclerView, state: RecyclerView.State, child: View, focused: View?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onRestoreInstanceState(state: Parcelable?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onSaveInstanceState(): Parcelable
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun performAccessibilityAction(recycler: RecyclerView.Recycler, state: RecyclerView.State, action: Int, args: Bundle?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun prepareForDrop(view: View, target: View, x: Int, y: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeAllViews()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeView(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeViewAt(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun requestChildRectangleOnScreen(parent: RecyclerView, child: View, rect: Rect, immediate: Boolean): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun requestLayout()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scrollHorizontallyBy(dx: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scrollToPosition(position: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scrollVerticallyBy(dy: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun selectPosition(position: Int, subPosition: Int, smooth: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun selectSubPosition(subPosition: Int, smooth: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setAlignments(parent: ParentAlignment, child: ChildAlignment, smooth: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setChildAlignment(alignment: ChildAlignment, smooth: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setFocusOutAllowed(throughFront: Boolean, throughBack: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setFocusOutSideAllowed(throughFront: Boolean, throughBack: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setGravity(gravity: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setMeasuredDimension(p0: Int, p1: Int)
open fun setMeasuredDimension(p0: Rect, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setOrientation(orientation: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParentAlignment(alignment: ParentAlignment, smooth: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setReverseLayout(reverseLayout: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSpanCount(spanCount: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun smoothScrollToPosition(recyclerView: RecyclerView, state: RecyclerView.State, position: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startSmoothScroll(smoothScroller: RecyclerView.SmoothScroller)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun stopIgnoringView(@NonNull p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-auto-measure-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-auto-measure-enabled.html new file mode 100644 index 00000000..c3a1ec9e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-auto-measure-enabled.html @@ -0,0 +1,76 @@ + + + + + isAutoMeasureEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isAutoMeasureEnabled

+
+
open override fun isAutoMeasureEnabled(): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-focus-search-disabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-focus-search-disabled.html new file mode 100644 index 00000000..e77db845 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-focus-search-disabled.html @@ -0,0 +1,76 @@ + + + + + isFocusSearchDisabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFocusSearchDisabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-layout-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-layout-enabled.html new file mode 100644 index 00000000..2cec1734 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-layout-enabled.html @@ -0,0 +1,76 @@ + + + + + isLayoutEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isLayoutEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-layout-reversed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-layout-reversed.html new file mode 100644 index 00000000..6e87d205 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/is-layout-reversed.html @@ -0,0 +1,76 @@ + + + + + isLayoutReversed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isLayoutReversed

+
+
open override fun isLayoutReversed(): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-adapter-changed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-adapter-changed.html new file mode 100644 index 00000000..ef61fd86 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-adapter-changed.html @@ -0,0 +1,76 @@ + + + + + onAdapterChanged + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onAdapterChanged

+
+
open override fun onAdapterChanged(oldAdapter: RecyclerView.Adapter<*>?, newAdapter: RecyclerView.Adapter<*>?)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-add-focusables.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-add-focusables.html new file mode 100644 index 00000000..7f1fad5c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-add-focusables.html @@ -0,0 +1,76 @@ + + + + + onAddFocusables + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onAddFocusables

+
+
open override fun onAddFocusables(recyclerView: RecyclerView, views: ArrayList<View>, direction: Int, focusableMode: Int): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-attached-to-window.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-attached-to-window.html new file mode 100644 index 00000000..0a1a6020 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-attached-to-window.html @@ -0,0 +1,76 @@ + + + + + onAttachedToWindow + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onAttachedToWindow

+
+
open override fun onAttachedToWindow(view: RecyclerView)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-detached-from-window.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-detached-from-window.html new file mode 100644 index 00000000..8ab8e47a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-detached-from-window.html @@ -0,0 +1,76 @@ + + + + + onDetachedFromWindow + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onDetachedFromWindow

+
+
open override fun onDetachedFromWindow(view: RecyclerView, recycler: RecyclerView.Recycler)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-initialize-accessibility-node-info-for-item.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-initialize-accessibility-node-info-for-item.html new file mode 100644 index 00000000..65570fdb --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-initialize-accessibility-node-info-for-item.html @@ -0,0 +1,76 @@ + + + + + onInitializeAccessibilityNodeInfoForItem + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onInitializeAccessibilityNodeInfoForItem

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-initialize-accessibility-node-info.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-initialize-accessibility-node-info.html new file mode 100644 index 00000000..501eed47 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-initialize-accessibility-node-info.html @@ -0,0 +1,76 @@ + + + + + onInitializeAccessibilityNodeInfo + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onInitializeAccessibilityNodeInfo

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-intercept-focus-search.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-intercept-focus-search.html new file mode 100644 index 00000000..044bade1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-intercept-focus-search.html @@ -0,0 +1,76 @@ + + + + + onInterceptFocusSearch + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onInterceptFocusSearch

+
+
open override fun onInterceptFocusSearch(focused: View, direction: Int): View?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-added.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-added.html new file mode 100644 index 00000000..e494b755 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-added.html @@ -0,0 +1,76 @@ + + + + + onItemsAdded + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onItemsAdded

+
+
open override fun onItemsAdded(recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-changed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-changed.html new file mode 100644 index 00000000..85a84926 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-changed.html @@ -0,0 +1,76 @@ + + + + + onItemsChanged + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onItemsChanged

+
+
open override fun onItemsChanged(recyclerView: RecyclerView)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-moved.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-moved.html new file mode 100644 index 00000000..cc73118e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-moved.html @@ -0,0 +1,76 @@ + + + + + onItemsMoved + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onItemsMoved

+
+
open override fun onItemsMoved(recyclerView: RecyclerView, from: Int, to: Int, itemCount: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-removed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-removed.html new file mode 100644 index 00000000..d7a05ca2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-items-removed.html @@ -0,0 +1,76 @@ + + + + + onItemsRemoved + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onItemsRemoved

+
+
open override fun onItemsRemoved(recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-layout-children.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-layout-children.html new file mode 100644 index 00000000..6a091ab4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-layout-children.html @@ -0,0 +1,76 @@ + + + + + onLayoutChildren + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onLayoutChildren

+
+
open override fun onLayoutChildren(recycler: RecyclerView.Recycler, state: RecyclerView.State)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-layout-completed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-layout-completed.html new file mode 100644 index 00000000..158b89af --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-layout-completed.html @@ -0,0 +1,76 @@ + + + + + onLayoutCompleted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onLayoutCompleted

+
+
open override fun onLayoutCompleted(state: RecyclerView.State)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-request-child-focus.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-request-child-focus.html new file mode 100644 index 00000000..a2efdd01 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-request-child-focus.html @@ -0,0 +1,76 @@ + + + + + onRequestChildFocus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onRequestChildFocus

+
+
open override fun onRequestChildFocus(parent: RecyclerView, state: RecyclerView.State, child: View, focused: View?): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-request-focus-in-descendants.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-request-focus-in-descendants.html new file mode 100644 index 00000000..bba897ae --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-request-focus-in-descendants.html @@ -0,0 +1,76 @@ + + + + + onRequestFocusInDescendants + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onRequestFocusInDescendants

+
+
fun onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect?): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-restore-instance-state.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-restore-instance-state.html new file mode 100644 index 00000000..da92f3fa --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-restore-instance-state.html @@ -0,0 +1,76 @@ + + + + + onRestoreInstanceState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onRestoreInstanceState

+
+
open override fun onRestoreInstanceState(state: Parcelable?)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-save-instance-state.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-save-instance-state.html new file mode 100644 index 00000000..bdc19e35 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/on-save-instance-state.html @@ -0,0 +1,76 @@ + + + + + onSaveInstanceState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onSaveInstanceState

+
+
open override fun onSaveInstanceState(): Parcelable
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/perform-accessibility-action.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/perform-accessibility-action.html new file mode 100644 index 00000000..57aab6e6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/perform-accessibility-action.html @@ -0,0 +1,76 @@ + + + + + performAccessibilityAction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

performAccessibilityAction

+
+
open override fun performAccessibilityAction(recycler: RecyclerView.Recycler, state: RecyclerView.State, action: Int, args: Bundle?): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/prepare-for-drop.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/prepare-for-drop.html new file mode 100644 index 00000000..773bbb85 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/prepare-for-drop.html @@ -0,0 +1,76 @@ + + + + + prepareForDrop + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

prepareForDrop

+
+
open override fun prepareForDrop(view: View, target: View, x: Int, y: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-layout-completed-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-layout-completed-listener.html new file mode 100644 index 00000000..74e7c561 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-layout-completed-listener.html @@ -0,0 +1,76 @@ + + + + + removeOnLayoutCompletedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeOnLayoutCompletedListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-view-focused-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-view-focused-listener.html new file mode 100644 index 00000000..13370015 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-view-focused-listener.html @@ -0,0 +1,76 @@ + + + + + removeOnViewFocusedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeOnViewFocusedListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-view-holder-selected-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-view-holder-selected-listener.html new file mode 100644 index 00000000..b73566aa --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/remove-on-view-holder-selected-listener.html @@ -0,0 +1,76 @@ + + + + + removeOnViewHolderSelectedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeOnViewHolderSelectedListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/request-child-rectangle-on-screen.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/request-child-rectangle-on-screen.html new file mode 100644 index 00000000..db2c8e20 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/request-child-rectangle-on-screen.html @@ -0,0 +1,76 @@ + + + + + requestChildRectangleOnScreen + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

requestChildRectangleOnScreen

+
+
open override fun requestChildRectangleOnScreen(parent: RecyclerView, child: View, rect: Rect, immediate: Boolean): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-horizontally-by.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-horizontally-by.html new file mode 100644 index 00000000..2a0e8f43 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-horizontally-by.html @@ -0,0 +1,76 @@ + + + + + scrollHorizontallyBy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scrollHorizontallyBy

+
+
open override fun scrollHorizontallyBy(dx: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-to-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-to-position.html new file mode 100644 index 00000000..c005d0b2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-to-position.html @@ -0,0 +1,76 @@ + + + + + scrollToPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scrollToPosition

+
+
open override fun scrollToPosition(position: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-vertically-by.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-vertically-by.html new file mode 100644 index 00000000..ea9be8c8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/scroll-vertically-by.html @@ -0,0 +1,76 @@ + + + + + scrollVerticallyBy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scrollVerticallyBy

+
+
open override fun scrollVerticallyBy(dy: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/select-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/select-position.html new file mode 100644 index 00000000..22294114 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/select-position.html @@ -0,0 +1,76 @@ + + + + + selectPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

selectPosition

+
+
fun selectPosition(position: Int, subPosition: Int, smooth: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/select-sub-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/select-sub-position.html new file mode 100644 index 00000000..106b9c91 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/select-sub-position.html @@ -0,0 +1,76 @@ + + + + + selectSubPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

selectSubPosition

+
+
fun selectSubPosition(subPosition: Int, smooth: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-alignments.html new file mode 100644 index 00000000..d4b53812 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-alignments.html @@ -0,0 +1,76 @@ + + + + + setAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setAlignments

+
+
fun setAlignments(parent: ParentAlignment, child: ChildAlignment, smooth: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-child-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-child-alignment.html new file mode 100644 index 00000000..e51d9d4f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-child-alignment.html @@ -0,0 +1,76 @@ + + + + + setChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setChildAlignment

+
+
fun setChildAlignment(alignment: ChildAlignment, smooth: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-children-drawing-order-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-children-drawing-order-enabled.html new file mode 100644 index 00000000..f1b7a3fb --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-children-drawing-order-enabled.html @@ -0,0 +1,76 @@ + + + + + setChildrenDrawingOrderEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setChildrenDrawingOrderEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-extra-layout-space-strategy.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-extra-layout-space-strategy.html new file mode 100644 index 00000000..c611894d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-extra-layout-space-strategy.html @@ -0,0 +1,76 @@ + + + + + setExtraLayoutSpaceStrategy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setExtraLayoutSpaceStrategy

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-out-allowed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-out-allowed.html new file mode 100644 index 00000000..f5b09590 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-out-allowed.html @@ -0,0 +1,76 @@ + + + + + setFocusOutAllowed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusOutAllowed

+
+
fun setFocusOutAllowed(throughFront: Boolean, throughBack: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-out-side-allowed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-out-side-allowed.html new file mode 100644 index 00000000..c38fd7ad --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-out-side-allowed.html @@ -0,0 +1,76 @@ + + + + + setFocusOutSideAllowed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusOutSideAllowed

+
+
fun setFocusOutSideAllowed(throughFront: Boolean, throughBack: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-search-disabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-search-disabled.html new file mode 100644 index 00000000..28abddc9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-search-disabled.html @@ -0,0 +1,76 @@ + + + + + setFocusSearchDisabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusSearchDisabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-search-enabled-during-animations.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-search-enabled-during-animations.html new file mode 100644 index 00000000..b4621cfe --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focus-search-enabled-during-animations.html @@ -0,0 +1,76 @@ + + + + + setFocusSearchEnabledDuringAnimations + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusSearchEnabledDuringAnimations

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focusable-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focusable-direction.html new file mode 100644 index 00000000..53e679e0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-focusable-direction.html @@ -0,0 +1,76 @@ + + + + + setFocusableDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusableDirection

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-gravity.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-gravity.html new file mode 100644 index 00000000..7cbb1cfe --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-gravity.html @@ -0,0 +1,76 @@ + + + + + setGravity + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setGravity

+
+
fun setGravity(gravity: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-layout-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-layout-enabled.html new file mode 100644 index 00000000..5e82464b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-layout-enabled.html @@ -0,0 +1,76 @@ + + + + + setLayoutEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setLayoutEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-loop-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-loop-direction.html new file mode 100644 index 00000000..e8f5bb89 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-loop-direction.html @@ -0,0 +1,76 @@ + + + + + setLoopDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setLoopDirection

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-max-pending-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-max-pending-alignments.html new file mode 100644 index 00000000..5eedd2b8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-max-pending-alignments.html @@ -0,0 +1,76 @@ + + + + + setMaxPendingAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMaxPendingAlignments

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-max-pending-moves.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-max-pending-moves.html new file mode 100644 index 00000000..78d9e441 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-max-pending-moves.html @@ -0,0 +1,76 @@ + + + + + setMaxPendingMoves + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMaxPendingMoves

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-on-child-laid-out-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-on-child-laid-out-listener.html new file mode 100644 index 00000000..3c36e5d0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-on-child-laid-out-listener.html @@ -0,0 +1,76 @@ + + + + + setOnChildLaidOutListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOnChildLaidOutListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-orientation.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-orientation.html new file mode 100644 index 00000000..adc90cb0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-orientation.html @@ -0,0 +1,76 @@ + + + + + setOrientation + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOrientation

+
+
fun setOrientation(orientation: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-parent-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-parent-alignment.html new file mode 100644 index 00000000..2e563a29 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-parent-alignment.html @@ -0,0 +1,76 @@ + + + + + setParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setParentAlignment

+
+
fun setParentAlignment(alignment: ParentAlignment, smooth: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-recycle-children-on-detach.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-recycle-children-on-detach.html new file mode 100644 index 00000000..46135ab7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-recycle-children-on-detach.html @@ -0,0 +1,76 @@ + + + + + setRecycleChildrenOnDetach + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setRecycleChildrenOnDetach

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-reverse-layout.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-reverse-layout.html new file mode 100644 index 00000000..338ac514 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-reverse-layout.html @@ -0,0 +1,76 @@ + + + + + setReverseLayout + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setReverseLayout

+
+
fun setReverseLayout(reverseLayout: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-scroll-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-scroll-enabled.html new file mode 100644 index 00000000..0faa451d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-scroll-enabled.html @@ -0,0 +1,76 @@ + + + + + setScrollEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setScrollEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-smooth-focus-changes-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-smooth-focus-changes-enabled.html new file mode 100644 index 00000000..bc5f55f1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-smooth-focus-changes-enabled.html @@ -0,0 +1,76 @@ + + + + + setSmoothFocusChangesEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothFocusChangesEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-smooth-scroll-speed-factor.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-smooth-scroll-speed-factor.html new file mode 100644 index 00000000..55256ebe --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-smooth-scroll-speed-factor.html @@ -0,0 +1,76 @@ + + + + + setSmoothScrollSpeedFactor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothScrollSpeedFactor

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-span-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-span-count.html new file mode 100644 index 00000000..d2b52502 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-span-count.html @@ -0,0 +1,76 @@ + + + + + setSpanCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpanCount

+
+
fun setSpanCount(spanCount: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-span-size-lookup.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-span-size-lookup.html new file mode 100644 index 00000000..b5a20f8f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/set-span-size-lookup.html @@ -0,0 +1,76 @@ + + + + + setSpanSizeLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpanSizeLookup

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/smooth-scroll-to-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/smooth-scroll-to-position.html new file mode 100644 index 00000000..05863614 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/smooth-scroll-to-position.html @@ -0,0 +1,76 @@ + + + + + smoothScrollToPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

smoothScrollToPosition

+
+
open override fun smoothScrollToPosition(recyclerView: RecyclerView, state: RecyclerView.State, position: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/start-smooth-scroll.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/start-smooth-scroll.html new file mode 100644 index 00000000..17baf689 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/start-smooth-scroll.html @@ -0,0 +1,76 @@ + + + + + startSmoothScroll + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startSmoothScroll

+
+
open override fun startSmoothScroll(smoothScroller: RecyclerView.SmoothScroller)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/supports-predictive-item-animations.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/supports-predictive-item-animations.html new file mode 100644 index 00000000..d4e26570 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/-pivot-layout-manager/supports-predictive-item-animations.html @@ -0,0 +1,76 @@ + + + + + supportsPredictiveItemAnimations + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

supportsPredictiveItemAnimations

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/index.html new file mode 100644 index 00000000..ee7e8a8e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.layoutmanager/index.html @@ -0,0 +1,114 @@ + + + + + com.rubensousa.dpadrecyclerview.layoutmanager + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ + +
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/-companion/create.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/-companion/create.html new file mode 100644 index 00000000..9f28ed1b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/-companion/create.html @@ -0,0 +1,76 @@ + + + + + create + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

create

+
+
fun create(@Px itemSpacing: Int, @Px perpendicularItemSpacing: Int = itemSpacing, @Px edgeSpacing: Int = itemSpacing): DpadGridSpacingDecoration
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/-companion/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/-companion/index.html new file mode 100644 index 00000000..401a9619 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun create(@Px itemSpacing: Int, @Px perpendicularItemSpacing: Int = itemSpacing, @Px edgeSpacing: Int = itemSpacing): DpadGridSpacingDecoration
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/get-item-offsets.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/get-item-offsets.html new file mode 100644 index 00000000..56879c81 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/get-item-offsets.html @@ -0,0 +1,76 @@ + + + + + getItemOffsets + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getItemOffsets

+
+
open override fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)

See also

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/index.html new file mode 100644 index 00000000..98a33fc1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-grid-spacing-decoration/index.html @@ -0,0 +1,164 @@ + + + + + DpadGridSpacingDecoration + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadGridSpacingDecoration

+

An item decoration that applies a spacing to all sides of a view part of a grid.

Parameters

itemSpacing

default spacing between items that share a span group.

perpendicularItemSpacing

spacing between items across different span groups. Default is itemSpacing if not specified.

edgeSpacing

spacing between the start and end edges in the layout orientation. Default is itemSpacing if not specified.

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getItemOffsets(@NonNull p0: Rect, p1: Int, @NonNull p2: RecyclerView)
open override fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSpacingLookup(spacingLookup: DpadSpacingLookup?)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/-companion/create.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/-companion/create.html new file mode 100644 index 00000000..fa3567e2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/-companion/create.html @@ -0,0 +1,76 @@ + + + + + create + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

create

+
+
fun create(@Px itemSpacing: Int, @Px edgeSpacing: Int = itemSpacing, @Px perpendicularEdgeSpacing: Int = 0): DpadLinearSpacingDecoration
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/-companion/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/-companion/index.html new file mode 100644 index 00000000..841a8f11 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun create(@Px itemSpacing: Int, @Px edgeSpacing: Int = itemSpacing, @Px perpendicularEdgeSpacing: Int = 0): DpadLinearSpacingDecoration
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/get-item-offsets.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/get-item-offsets.html new file mode 100644 index 00000000..aaaf4414 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/get-item-offsets.html @@ -0,0 +1,76 @@ + + + + + getItemOffsets + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getItemOffsets

+
+
open override fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)

See also

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/index.html new file mode 100644 index 00000000..8f7326f7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-linear-spacing-decoration/index.html @@ -0,0 +1,164 @@ + + + + + DpadLinearSpacingDecoration + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadLinearSpacingDecoration

+

An item decoration that applies a spacing to all sides of a view part of a Column or Row layout.

Parameters

itemSpacing

spacing between items in the layout direction

edgeSpacing

spacing between the start and end edges in the layout orientation. Default is itemSpacing if not specified.

perpendicularEdgeSpacing

spacing between the edges perpendicular to the layout orientation. Default is 0.

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getItemOffsets(@NonNull p0: Rect, p1: Int, @NonNull p2: RecyclerView)
open override fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSpacingLookup(spacingLookup: DpadSpacingLookup?)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/-dpad-spacing-decoration.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/-dpad-spacing-decoration.html new file mode 100644 index 00000000..c26aa5bf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/-dpad-spacing-decoration.html @@ -0,0 +1,76 @@ + + + + + DpadSpacingDecoration + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSpacingDecoration

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/get-item-offsets.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/get-item-offsets.html new file mode 100644 index 00000000..85caf713 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/get-item-offsets.html @@ -0,0 +1,76 @@ + + + + + getItemOffsets + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getItemOffsets

+
+
abstract fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)

See also


override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/index.html new file mode 100644 index 00000000..be3f3a45 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/index.html @@ -0,0 +1,164 @@ + + + + + DpadSpacingDecoration + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSpacingDecoration

+

A base RecyclerView.ItemDecoration that checks if spacing should be applied for a given position using DpadSpacingLookup.

Subclasses should only be used for instances of DpadRecyclerView and not other RecyclerViews.

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getItemOffsets(@NonNull p0: Rect, p1: Int, @NonNull p2: RecyclerView)
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
abstract fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSpacingLookup(spacingLookup: DpadSpacingLookup?)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/set-spacing-lookup.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/set-spacing-lookup.html new file mode 100644 index 00000000..c939d355 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-decoration/set-spacing-lookup.html @@ -0,0 +1,76 @@ + + + + + setSpacingLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpacingLookup

+
+
fun setSpacingLookup(spacingLookup: DpadSpacingLookup?)

Parameters

spacingLookup

an optional DpadSpacingLookup to filter layout positions that shouldn't have spacing applied

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-lookup/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-lookup/index.html new file mode 100644 index 00000000..2658b97a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-lookup/index.html @@ -0,0 +1,100 @@ + + + + + DpadSpacingLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSpacingLookup

+

Checks if a decoration should be applied for a given RecyclerView.ViewHolder

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun shouldApplySpacing(viewHolder: RecyclerView.ViewHolder, itemCount: Int): Boolean
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-lookup/should-apply-spacing.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-lookup/should-apply-spacing.html new file mode 100644 index 00000000..559ab150 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/-dpad-spacing-lookup/should-apply-spacing.html @@ -0,0 +1,76 @@ + + + + + shouldApplySpacing + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

shouldApplySpacing

+
+
abstract fun shouldApplySpacing(viewHolder: RecyclerView.ViewHolder, itemCount: Int): Boolean

Return

true if the ViewHolder should have spacing applied to

Parameters

viewHolder

the ViewHolder currently in layout

itemCount

the item count at the layout stage. See RecyclerView.State.getItemCount

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/index.html new file mode 100644 index 00000000..b8020045 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.spacing/index.html @@ -0,0 +1,144 @@ + + + + + com.rubensousa.dpadrecyclerview.spacing + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

An item decoration that applies a spacing to all sides of a view part of a grid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

An item decoration that applies a spacing to all sides of a view part of a Column or Row layout.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A base RecyclerView.ItemDecoration that checks if spacing should be applied for a given position using DpadSpacingLookup.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Checks if a decoration should be applied for a given RecyclerView.ViewHolder

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/clear.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/clear.html new file mode 100644 index 00000000..abba0183 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clear

+
+
fun clear(key: String)

Parameters

key

RecyclerView identifier of which state should be removed


fun clear()

Clears all scroll states to prevent them from being restored later

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/index.html new file mode 100644 index 00000000..78111fdf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/index.html @@ -0,0 +1,130 @@ + + + + + DpadScrollState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadScrollState

+

Holds the scroll state of nested DpadRecyclerView. Use it to save and restore the scroll state of all RecyclerViews in a single screen.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun clear()

Clears all scroll states to prevent them from being restored later

fun clear(key: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun restore(recyclerView: DpadRecyclerView, key: String, adapter: RecyclerView.Adapter<*>)

Call this when the ViewHolder is bound and after adapter contents are updated in RecyclerView.Adapter.onBindViewHolder.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun save(recyclerView: DpadRecyclerView, key: String, detachAdapter: Boolean = true)

Call this when the ViewHolder is recycled in RecyclerView.Adapter.onViewRecycled. This will clear the adapter by default to ensure that children are removed from the layout. To disable this, pass false in detachAdapter

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/restore.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/restore.html new file mode 100644 index 00000000..a00a07d0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/restore.html @@ -0,0 +1,76 @@ + + + + + restore + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

restore

+
+
fun restore(recyclerView: DpadRecyclerView, key: String, adapter: RecyclerView.Adapter<*>)

Call this when the ViewHolder is bound and after adapter contents are updated in RecyclerView.Adapter.onBindViewHolder.

Ensure that adapter contains the dataset before calling this method

Parameters

recyclerView

RecyclerView to be restored

key

unique identifier for recyclerView

adapter

adapter to be bound to this RecyclerView

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/save.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/save.html new file mode 100644 index 00000000..d159a296 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-scroll-state/save.html @@ -0,0 +1,76 @@ + + + + + save + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

save

+
+
fun save(recyclerView: DpadRecyclerView, key: String, detachAdapter: Boolean = true)

Call this when the ViewHolder is recycled in RecyclerView.Adapter.onViewRecycled. This will clear the adapter by default to ensure that children are removed from the layout. To disable this, pass false in detachAdapter

Parameters

recyclerView

RecyclerView to be saved

key

unique identifier for recyclerView

detachAdapter

true to detach the RecyclerView.Adapter or false to skip that behavior. Default: true

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/-dpad-state-registry.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/-dpad-state-registry.html new file mode 100644 index 00000000..8ce0c4cf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/-dpad-state-registry.html @@ -0,0 +1,76 @@ + + + + + DpadStateRegistry + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadStateRegistry

+
+
constructor(registryOwner: SavedStateRegistryOwner)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/get-scroll-state.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/get-scroll-state.html new file mode 100644 index 00000000..9abd52f9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/get-scroll-state.html @@ -0,0 +1,76 @@ + + + + + getScrollState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getScrollState

+
+

Return

DpadScrollState to save and restore scroll states of DpadRecyclerView

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/get-view-holder-state.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/get-view-holder-state.html new file mode 100644 index 00000000..a2ec5832 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/get-view-holder-state.html @@ -0,0 +1,76 @@ + + + + + getViewHolderState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getViewHolderState

+
+

Return

DpadViewHolderState to save and restore view states of ViewHolders part of a DpadRecyclerView

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/index.html new file mode 100644 index 00000000..0b6c3e9a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/index.html @@ -0,0 +1,149 @@ + + + + + DpadStateRegistry + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadStateRegistry

+

Saves and restores scroll states and ViewHolder states. Check DpadScrollState and DpadViewHolderState for more information.

This class is lifecycle-aware and will contribute to Activity.onSaveInstanceState or Fragment.onSaveInstanceState via SavedStateRegistryOwner, unless setSaveInstanceStateEnabled is used to disable this behavior.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(registryOwner: SavedStateRegistryOwner)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Control whether state should be saved via Activity.onSaveInstanceState or Fragment.onSaveInstanceState, false otherwise. Default is true.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/set-save-instance-state-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/set-save-instance-state-enabled.html new file mode 100644 index 00000000..dcb667fb --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-state-registry/set-save-instance-state-enabled.html @@ -0,0 +1,76 @@ + + + + + setSaveInstanceStateEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSaveInstanceStateEnabled

+
+

Control whether state should be saved via Activity.onSaveInstanceState or Fragment.onSaveInstanceState, false otherwise. Default is true.

Parameters

enabled

true if state should be persisted, false otherwise.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/clear.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/clear.html new file mode 100644 index 00000000..64320c04 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clear

+
+
fun clear(key: String)

Parameters

key

ViewHolder identifier of which state should be removed


fun clear()

Clears all ViewHolder states to prevent them from being restored later

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/index.html new file mode 100644 index 00000000..e7d2209c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/index.html @@ -0,0 +1,130 @@ + + + + + DpadViewHolderState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadViewHolderState

+

Holds the view hierarchy state of some RecyclerView.ViewHolder. Use saveState to save a RecyclerView.ViewHolder and restoreState to restore its state.

Consider using this when you need to persist some View state (e.g text input) inside your ViewHolders.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun clear()

Clears all ViewHolder states to prevent them from being restored later

fun clear(key: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun restoreState(holder: RecyclerView.ViewHolder, key: String, consume: Boolean = false)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/restore-state.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/restore-state.html new file mode 100644 index 00000000..95083206 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/restore-state.html @@ -0,0 +1,76 @@ + + + + + restoreState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

restoreState

+
+
fun restoreState(holder: RecyclerView.ViewHolder, key: String, consume: Boolean = false)

Parameters

holder

ViewHolder to be restored

key

unique identifier for holder

consume

true to prevent this state from being restored multiple times, or false to still keep it. Default: false

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/save-state.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/save-state.html new file mode 100644 index 00000000..66c9a9b3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/-dpad-view-holder-state/save-state.html @@ -0,0 +1,76 @@ + + + + + saveState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

saveState

+
+

Parameters

holder

ViewHolder to be saved

key

unique identifier for holder

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/index.html new file mode 100644 index 00000000..1fceaefa --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview.state/index.html @@ -0,0 +1,129 @@ + + + + + com.rubensousa.dpadrecyclerview.state + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Holds the scroll state of nested DpadRecyclerView. Use it to save and restore the scroll state of all RecyclerViews in a single screen.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Saves and restores scroll states and ViewHolder states. Check DpadScrollState and DpadViewHolderState for more information.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Holds the view hierarchy state of some RecyclerView.ViewHolder. Use saveState to save a RecyclerView.ViewHolder and restoreState to restore its state.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/create-from-parcel.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/create-from-parcel.html new file mode 100644 index 00000000..8b026dd5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/create-from-parcel.html @@ -0,0 +1,76 @@ + + + + + createFromParcel + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

createFromParcel

+
+
open override fun createFromParcel(parcel: Parcel): ChildAlignment
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/index.html new file mode 100644 index 00000000..3c78b1eb --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/index.html @@ -0,0 +1,115 @@ + + + + + CREATOR + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CREATOR

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createFromParcel(parcel: Parcel): ChildAlignment
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun newArray(size: Int): Array<ChildAlignment?>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/new-array.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/new-array.html new file mode 100644 index 00000000..17963f5a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-c-r-e-a-t-o-r/new-array.html @@ -0,0 +1,76 @@ + + + + + newArray + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

newArray

+
+
open override fun newArray(size: Int): Array<ChildAlignment?>
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-child-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-child-alignment.html new file mode 100644 index 00000000..b2897bcf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/-child-alignment.html @@ -0,0 +1,76 @@ + + + + + ChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ChildAlignment

+
+
constructor(parcel: Parcel)
constructor(offset: Int = ViewAlignment.DEFAULT_OFFSET, fraction: Float = ViewAlignment.DEFAULT_FRACTION, isFractionEnabled: Boolean = true, includePadding: Boolean = false, alignToBaseline: Boolean = false)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/align-to-baseline.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/align-to-baseline.html new file mode 100644 index 00000000..16841a52 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/align-to-baseline.html @@ -0,0 +1,76 @@ + + + + + alignToBaseline + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

alignToBaseline

+
+
open override val alignToBaseline: Boolean = false

When true, aligns to View.getBaseline for the view used for the alignment

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/describe-contents.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/describe-contents.html new file mode 100644 index 00000000..dfb97856 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/describe-contents.html @@ -0,0 +1,76 @@ + + + + + describeContents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

describeContents

+
+
open override fun describeContents(): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/fraction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/fraction.html new file mode 100644 index 00000000..5629d5cc --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/fraction.html @@ -0,0 +1,76 @@ + + + + + fraction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fraction

+
+
open override val fraction: Float

The keyline position for the alignment. Default: 0.5f (center)

Set isFractionEnabled to false in case you want to disable this

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/include-padding.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/include-padding.html new file mode 100644 index 00000000..fc17ac0a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/include-padding.html @@ -0,0 +1,76 @@ + + + + + includePadding + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

includePadding

+
+
open override val includePadding: Boolean = false

True if padding should be included for the alignment. Includes start/top padding if fraction is 0f. Includes end/bottom padding if fraction is 1f. If fraction is not 0f or 1f, padding isn't included

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/index.html new file mode 100644 index 00000000..5d2daaaa --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/index.html @@ -0,0 +1,232 @@ + + + + + ChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ChildAlignment

+
data class ChildAlignment(val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val includePadding: Boolean = false, val alignToBaseline: Boolean = false) : ViewAlignment, Parcelable

Alignment configuration for aligning views in relation to its dimensions

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parcel: Parcel)
constructor(offset: Int = ViewAlignment.DEFAULT_OFFSET, fraction: Float = ViewAlignment.DEFAULT_FRACTION, isFractionEnabled: Boolean = true, includePadding: Boolean = false, alignToBaseline: Boolean = false)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val alignToBaseline: Boolean = false

When true, aligns to View.getBaseline for the view used for the alignment

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val fraction: Float

The keyline position for the alignment. Default: 0.5f (center)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val includePadding: Boolean = false

True if padding should be included for the alignment. Includes start/top padding if fraction is 0f. Includes end/bottom padding if fraction is 1f. If fraction is not 0f or 1f, padding isn't included

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val isFractionEnabled: Boolean = true

When enabled, fraction will be used for the alignment. Otherwise, only offset will be used.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val offset: Int

The distance to the fraction of the view in pixels.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun describeContents(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeToParcel(parcel: Parcel, flags: Int)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/is-fraction-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/is-fraction-enabled.html new file mode 100644 index 00000000..2fd9138c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/is-fraction-enabled.html @@ -0,0 +1,76 @@ + + + + + isFractionEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFractionEnabled

+
+
open override val isFractionEnabled: Boolean = true

When enabled, fraction will be used for the alignment. Otherwise, only offset will be used.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/offset.html new file mode 100644 index 00000000..64a31185 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/offset.html @@ -0,0 +1,76 @@ + + + + + offset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offset

+
+
open override val offset: Int

The distance to the fraction of the view in pixels.

E.g fraction = 0.5f, offset = 100, View's height = 500

Keyline position = 500 * 0.5f + 100 = 350

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/write-to-parcel.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/write-to-parcel.html new file mode 100644 index 00000000..ab4c9b1d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-child-alignment/write-to-parcel.html @@ -0,0 +1,76 @@ + + + + + writeToParcel + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeToParcel

+
+
open override fun writeToParcel(parcel: Parcel, flags: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-dpad-drag-helper.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-dpad-drag-helper.html new file mode 100644 index 00000000..89429923 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-dpad-drag-helper.html @@ -0,0 +1,80 @@ + + + + + DpadDragHelper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadDragHelper

+
+
constructor(adapter: DpadDragHelper.DragAdapter<T>, callback: DpadDragHelper.DragCallback, cancelKeyCodes: Set<Int> = setOf( + KeyEvent.KEYCODE_DPAD_CENTER, + KeyEvent.KEYCODE_ENTER, + KeyEvent.KEYCODE_BACK + ))
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-adapter/get-mutable-items.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-adapter/get-mutable-items.html new file mode 100644 index 00000000..77ba7b98 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-adapter/get-mutable-items.html @@ -0,0 +1,76 @@ + + + + + getMutableItems + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMutableItems

+
+
abstract fun getMutableItems(): MutableList<T>

Return

the mutable collection of items backing the adapter

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-adapter/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-adapter/index.html new file mode 100644 index 00000000..ae895899 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-adapter/index.html @@ -0,0 +1,100 @@ + + + + + DragAdapter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DragAdapter

+
interface DragAdapter<T>
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getMutableItems(): MutableList<T>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/index.html new file mode 100644 index 00000000..b0f97338 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/index.html @@ -0,0 +1,115 @@ + + + + + DragCallback + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DragCallback

+
interface DragCallback
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun onDragStarted(viewHolder: RecyclerView.ViewHolder)

Indicates that the dragging action has started. DpadRecyclerView will receive focus

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun onDragStopped()

Indicates that the dragging action has stopped

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/on-drag-started.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/on-drag-started.html new file mode 100644 index 00000000..376be85e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/on-drag-started.html @@ -0,0 +1,76 @@ + + + + + onDragStarted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onDragStarted

+
+
abstract fun onDragStarted(viewHolder: RecyclerView.ViewHolder)

Indicates that the dragging action has started. DpadRecyclerView will receive focus

Parameters

viewHolder

the view holder that is being dragged

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/on-drag-stopped.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/on-drag-stopped.html new file mode 100644 index 00000000..e2bfb961 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/-drag-callback/on-drag-stopped.html @@ -0,0 +1,76 @@ + + + + + onDragStopped + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onDragStopped

+
+
abstract fun onDragStopped()

Indicates that the dragging action has stopped

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/attach-to-recycler-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/attach-to-recycler-view.html new file mode 100644 index 00000000..f7b718a7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/attach-to-recycler-view.html @@ -0,0 +1,76 @@ + + + + + attachToRecyclerView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

attachToRecyclerView

+
+

Attaches the DpadRecyclerView that will be dragged. This is required before calling startDrag

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/detach-from-recycler-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/detach-from-recycler-view.html new file mode 100644 index 00000000..2f597ae5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/detach-from-recycler-view.html @@ -0,0 +1,76 @@ + + + + + detachFromRecyclerView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detachFromRecyclerView

+
+

Detaches the previously attached DpadRecyclerView and stops dragging

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/index.html new file mode 100644 index 00000000..4b828900 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/index.html @@ -0,0 +1,225 @@ + + + + + DpadDragHelper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadDragHelper

+
class DpadDragHelper<T>(adapter: DpadDragHelper.DragAdapter<T>, callback: DpadDragHelper.DragCallback, cancelKeyCodes: Set<Int> = setOf( + KeyEvent.KEYCODE_DPAD_CENTER, + KeyEvent.KEYCODE_ENTER, + KeyEvent.KEYCODE_BACK + ))

A helper class for re-ordering the contents of a DpadRecyclerView.

To use this, your adapter needs to implement DpadDragHelper.DragAdapter and expose the mutable collection via DpadDragHelper.DragAdapter.getMutableItems.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(adapter: DpadDragHelper.DragAdapter<T>, callback: DpadDragHelper.DragCallback, cancelKeyCodes: Set<Int> = setOf( + KeyEvent.KEYCODE_DPAD_CENTER, + KeyEvent.KEYCODE_ENTER, + KeyEvent.KEYCODE_BACK + ))
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface DragAdapter<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface DragCallback
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

True if the attached DpadRecyclerView is currently in drag mode, false otherwise

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attaches the DpadRecyclerView that will be dragged. This is required before calling startDrag

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Detaches the previously attached DpadRecyclerView and stops dragging

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun startDrag(position: Int): Boolean

Starts the dragging action for the ViewHolder at position.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun stopDrag()

Cancels the current ongoing dragging action DragCallback.onDragStopped will be called after this method

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/is-dragging.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/is-dragging.html new file mode 100644 index 00000000..82eb0dc7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/is-dragging.html @@ -0,0 +1,76 @@ + + + + + isDragging + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isDragging

+
+

True if the attached DpadRecyclerView is currently in drag mode, false otherwise

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/start-drag.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/start-drag.html new file mode 100644 index 00000000..b92bcd9a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/start-drag.html @@ -0,0 +1,76 @@ + + + + + startDrag + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startDrag

+
+
fun startDrag(position: Int): Boolean

Starts the dragging action for the ViewHolder at position.

DragCallback.onDragStarted will be called after this method if this returns true

Return

true if the dragging action was started, false otherwise

Parameters

position

the position of the item to be dragged

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/stop-drag.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/stop-drag.html new file mode 100644 index 00000000..f1ced79d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-drag-helper/stop-drag.html @@ -0,0 +1,76 @@ + + + + + stopDrag + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

stopDrag

+
+
fun stopDrag()

Cancels the current ongoing dragging action DragCallback.onDragStopped will be called after this method

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-m-a-x/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-m-a-x/index.html new file mode 100644 index 00000000..92f596af --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-m-a-x/index.html @@ -0,0 +1,115 @@ + + + + + MAX + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MAX

+

Only allow infinite scrolling from the max edge. When returning to the min edge, stop looping

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-m-i-n_-m-a-x/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-m-i-n_-m-a-x/index.html new file mode 100644 index 00000000..74f5a452 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-m-i-n_-m-a-x/index.html @@ -0,0 +1,115 @@ + + + + + MIN_MAX + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MIN_MAX

+

Mirrors both the min and max edge, so that infinite scroll is supported in both directions

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-n-o-n-e/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-n-o-n-e/index.html new file mode 100644 index 00000000..060a1c4d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/-n-o-n-e/index.html @@ -0,0 +1,115 @@ + + + + + NONE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

NONE

+

Disable looping the adapter contents

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/entries.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/entries.html new file mode 100644 index 00000000..0e1ada49 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/index.html new file mode 100644 index 00000000..28b8c369 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/index.html @@ -0,0 +1,213 @@ + + + + + DpadLoopDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadLoopDirection

+

Defines how items are looped around in DpadRecyclerView.

Looping is only supported for single span layouts.

If the layout doesn't fill the entire viewport, then looping is disabled

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Disable looping the adapter contents

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Only allow infinite scrolling from the max edge. When returning to the min edge, stop looping

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Mirrors both the min and max edge, so that infinite scroll is supported in both directions

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/value-of.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/value-of.html new file mode 100644 index 00000000..58d45c7f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/values.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/values.html new file mode 100644 index 00000000..dd05ffa8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-loop-direction/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-dpad-recycler-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-dpad-recycler-view.html new file mode 100644 index 00000000..a063bee7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-dpad-recycler-view.html @@ -0,0 +1,76 @@ + + + + + DpadRecyclerView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadRecyclerView

+
+
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.dpadRecyclerViewStyle)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-key-intercept-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-key-intercept-listener/index.html new file mode 100644 index 00000000..b9201680 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-key-intercept-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnKeyInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnKeyInterceptListener

+

Listener for intercepting key dispatch events.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun onInterceptKeyEvent(event: KeyEvent): Boolean
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-key-intercept-listener/on-intercept-key-event.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-key-intercept-listener/on-intercept-key-event.html new file mode 100644 index 00000000..6545f2cd --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-key-intercept-listener/on-intercept-key-event.html @@ -0,0 +1,76 @@ + + + + + onInterceptKeyEvent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onInterceptKeyEvent

+
+
abstract fun onInterceptKeyEvent(event: KeyEvent): Boolean

Return

true if the key dispatch event should be consumed.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-layout-completed-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-layout-completed-listener/index.html new file mode 100644 index 00000000..93dd2e47 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-layout-completed-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnLayoutCompletedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnLayoutCompletedListener

+

Listener for receiving notifications of a completed layout pass by the LayoutManager of this RecyclerView

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Called after a full layout calculation has finished.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-layout-completed-listener/on-layout-completed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-layout-completed-listener/on-layout-completed.html new file mode 100644 index 00000000..b8dd4ce2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-layout-completed-listener/on-layout-completed.html @@ -0,0 +1,76 @@ + + + + + onLayoutCompleted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onLayoutCompleted

+
+

Called after a full layout calculation has finished.

Parameters

state

Transient state of RecyclerView

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-motion-intercept-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-motion-intercept-listener/index.html new file mode 100644 index 00000000..c48f08c1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-motion-intercept-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnMotionInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnMotionInterceptListener

+

Listener for intercepting generic motion dispatch events.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-motion-intercept-listener/on-intercept-motion-event.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-motion-intercept-listener/on-intercept-motion-event.html new file mode 100644 index 00000000..a989a1e1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-motion-intercept-listener/on-intercept-motion-event.html @@ -0,0 +1,76 @@ + + + + + onInterceptMotionEvent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onInterceptMotionEvent

+
+

Return

true if the motion event should be consumed.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-touch-intercept-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-touch-intercept-listener/index.html new file mode 100644 index 00000000..5057e349 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-touch-intercept-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnTouchInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnTouchInterceptListener

+

Listener for intercepting touch dispatch events

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-touch-intercept-listener/on-intercept-touch-event.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-touch-intercept-listener/on-intercept-touch-event.html new file mode 100644 index 00000000..29b925d8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-touch-intercept-listener/on-intercept-touch-event.html @@ -0,0 +1,76 @@ + + + + + onInterceptTouchEvent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onInterceptTouchEvent

+
+

Return

true if event should be consumed

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-unhandled-key-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-unhandled-key-listener/index.html new file mode 100644 index 00000000..5f9e38a6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-unhandled-key-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnUnhandledKeyListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnUnhandledKeyListener

+

Listener for intercepting unhandled key events.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun onUnhandledKey(event: KeyEvent): Boolean
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-unhandled-key-listener/on-unhandled-key.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-unhandled-key-listener/on-unhandled-key.html new file mode 100644 index 00000000..ccc4c3f3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-on-unhandled-key-listener/on-unhandled-key.html @@ -0,0 +1,76 @@ + + + + + onUnhandledKey + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onUnhandledKey

+
+
abstract fun onUnhandledKey(event: KeyEvent): Boolean

Return

true if the key event should be consumed.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/config-smooth-scroll-by-duration.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/config-smooth-scroll-by-duration.html new file mode 100644 index 00000000..4e4a8467 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/config-smooth-scroll-by-duration.html @@ -0,0 +1,76 @@ + + + + + configSmoothScrollByDuration + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

configSmoothScrollByDuration

+
+
abstract fun configSmoothScrollByDuration(dx: Int, dy: Int): Int

Defines duration in milliseconds of smoothScrollBy.

Return

Duration in milliseconds or UNDEFINED_DURATION for default value.

Parameters

dx

x distance in pixels.

dy

y distance in pixels.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/config-smooth-scroll-by-interpolator.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/config-smooth-scroll-by-interpolator.html new file mode 100644 index 00000000..33d74302 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/config-smooth-scroll-by-interpolator.html @@ -0,0 +1,76 @@ + + + + + configSmoothScrollByInterpolator + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

configSmoothScrollByInterpolator

+
+

Defines interpolator of smoothScrollBy.

Return

Interpolator to be used or null for default interpolator.

Parameters

dx

x distance in pixels.

dy

y distance in pixels.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/index.html new file mode 100644 index 00000000..a44a1793 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/-smooth-scroll-by-behavior/index.html @@ -0,0 +1,115 @@ + + + + + SmoothScrollByBehavior + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SmoothScrollByBehavior

+

Defines behavior of duration and interpolator for smoothScrollBy.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun configSmoothScrollByDuration(dx: Int, dy: Int): Int

Defines duration in milliseconds of smoothScrollBy.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Defines interpolator of smoothScrollBy.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-layout-completed-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-layout-completed-listener.html new file mode 100644 index 00000000..5c74c884 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-layout-completed-listener.html @@ -0,0 +1,76 @@ + + + + + addOnLayoutCompletedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addOnLayoutCompletedListener

+
+

Registers a callback to be invoked when this RecyclerView completes a layout pass.

Parameters

listener

The listener to be invoked.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-view-focused-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-view-focused-listener.html new file mode 100644 index 00000000..fbbf8d66 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-view-focused-listener.html @@ -0,0 +1,76 @@ + + + + + addOnViewFocusedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addOnViewFocusedListener

+
+

Registers a callback to be invoked when an item has been focused

Parameters

listener

The listener to be invoked.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-view-holder-selected-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-view-holder-selected-listener.html new file mode 100644 index 00000000..fdd73d7e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-on-view-holder-selected-listener.html @@ -0,0 +1,76 @@ + + + + + addOnViewHolderSelectedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addOnViewHolderSelectedListener

+
+

Registers a callback to be invoked when an item has been selected

Parameters

listener

The listener to be invoked.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-recycler-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-recycler-listener.html new file mode 100644 index 00000000..3f01bbb1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/add-recycler-listener.html @@ -0,0 +1,76 @@ + + + + + addRecyclerListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addRecyclerListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-layout-completed-listeners.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-layout-completed-listeners.html new file mode 100644 index 00000000..b62b4802 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-layout-completed-listeners.html @@ -0,0 +1,76 @@ + + + + + clearOnLayoutCompletedListeners + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearOnLayoutCompletedListeners

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-view-focused-listeners.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-view-focused-listeners.html new file mode 100644 index 00000000..ba56abec --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-view-focused-listeners.html @@ -0,0 +1,76 @@ + + + + + clearOnViewFocusedListeners + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearOnViewFocusedListeners

+
+

Clears all existing listeners added by addOnViewFocusedListener

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-view-holder-selected-listeners.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-view-holder-selected-listeners.html new file mode 100644 index 00000000..bdc67c93 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/clear-on-view-holder-selected-listeners.html @@ -0,0 +1,76 @@ + + + + + clearOnViewHolderSelectedListeners + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clearOnViewHolderSelectedListeners

+
+

Clears all existing listeners added by addOnViewHolderSelectedListener

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/dispatch-key-event.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/dispatch-key-event.html new file mode 100644 index 00000000..89255dea --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/dispatch-key-event.html @@ -0,0 +1,76 @@ + + + + + dispatchKeyEvent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dispatchKeyEvent

+
+
override fun dispatchKeyEvent(event: KeyEvent?): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/dispatch-touch-event.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/dispatch-touch-event.html new file mode 100644 index 00000000..fc56ce73 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/dispatch-touch-event.html @@ -0,0 +1,76 @@ + + + + + dispatchTouchEvent + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dispatchTouchEvent

+
+
open override fun dispatchTouchEvent(event: MotionEvent): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/enable-max-edge-fading.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/enable-max-edge-fading.html new file mode 100644 index 00000000..d67863c0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/enable-max-edge-fading.html @@ -0,0 +1,76 @@ + + + + + enableMaxEdgeFading + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

enableMaxEdgeFading

+
+

Enables fading out the max edge to transparent.

Parameters

enable

true if edge fading should be enabled for the right or bottom of the layout

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/enable-min-edge-fading.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/enable-min-edge-fading.html new file mode 100644 index 00000000..621ac864 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/enable-min-edge-fading.html @@ -0,0 +1,76 @@ + + + + + enableMinEdgeFading + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

enableMinEdgeFading

+
+

Enables fading out the min edge to transparent.

Parameters

enable

true if edge fading should be enabled for the left or top of the layout

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-first-completely-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-first-completely-visible-item-position.html new file mode 100644 index 00000000..86dd84f4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-first-completely-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findFirstCompletelyVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findFirstCompletelyVisibleItemPosition

+
+

Similar to LinearLayoutManager.findFirstCompletelyVisibleItemPosition

Return

The adapter position of the first fully visible item or RecyclerView.NO_POSITION if there aren't any fully visible items

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-first-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-first-visible-item-position.html new file mode 100644 index 00000000..8c5890c9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-first-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findFirstVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findFirstVisibleItemPosition

+
+

Similar to LinearLayoutManager.findFirstVisibleItemPosition

Return

The adapter position of the first visible item or RecyclerView.NO_POSITION if there aren't any visible items

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-last-completely-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-last-completely-visible-item-position.html new file mode 100644 index 00000000..cdd0c3a7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-last-completely-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findLastCompletelyVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findLastCompletelyVisibleItemPosition

+
+

Similar to LinearLayoutManager.findLastCompletelyVisibleItemPosition

Return

The adapter position of the last fully visible item or RecyclerView.NO_POSITION if there aren't any fully visible items

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-last-visible-item-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-last-visible-item-position.html new file mode 100644 index 00000000..7b1829c3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/find-last-visible-item-position.html @@ -0,0 +1,76 @@ + + + + + findLastVisibleItemPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findLastVisibleItemPosition

+
+

Similar to LinearLayoutManager.findLastVisibleItemPosition

Return

The adapter position of the last visible item or RecyclerView.NO_POSITION if there aren't any visible items

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/focus-search.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/focus-search.html new file mode 100644 index 00000000..579313a0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/focus-search.html @@ -0,0 +1,76 @@ + + + + + focusSearch + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

focusSearch

+
+
override fun focusSearch(direction: Int): View?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-child-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-child-alignment.html new file mode 100644 index 00000000..f3b2acf8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-child-alignment.html @@ -0,0 +1,76 @@ + + + + + getChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getChildAlignment

+
+

Return

the current child alignment configuration

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-current-sub-positions.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-current-sub-positions.html new file mode 100644 index 00000000..5ee40d28 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-current-sub-positions.html @@ -0,0 +1,76 @@ + + + + + getCurrentSubPositions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getCurrentSubPositions

+
+

Return

the number of available sub positions for the current selected item or 0 if there's none. See DpadViewHolder.getSubPositionAlignments

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-focusable-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-focusable-direction.html new file mode 100644 index 00000000..35daae4e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-focusable-direction.html @@ -0,0 +1,76 @@ + + + + + getFocusableDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getFocusableDirection

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-initial-prefetch-item-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-initial-prefetch-item-count.html new file mode 100644 index 00000000..0625b47c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-initial-prefetch-item-count.html @@ -0,0 +1,76 @@ + + + + + getInitialPrefetchItemCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getInitialPrefetchItemCount

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-loop-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-loop-direction.html new file mode 100644 index 00000000..e57ebb3c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-loop-direction.html @@ -0,0 +1,76 @@ + + + + + getLoopDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getLoopDirection

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-max-edge-fading-length.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-max-edge-fading-length.html new file mode 100644 index 00000000..a63e68d0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-max-edge-fading-length.html @@ -0,0 +1,76 @@ + + + + + getMaxEdgeFadingLength + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMaxEdgeFadingLength

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-max-edge-fading-offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-max-edge-fading-offset.html new file mode 100644 index 00000000..d9b4f919 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-max-edge-fading-offset.html @@ -0,0 +1,76 @@ + + + + + getMaxEdgeFadingOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMaxEdgeFadingOffset

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-min-edge-fading-length.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-min-edge-fading-length.html new file mode 100644 index 00000000..adb40812 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-min-edge-fading-length.html @@ -0,0 +1,76 @@ + + + + + getMinEdgeFadingLength + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMinEdgeFadingLength

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-min-edge-fading-offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-min-edge-fading-offset.html new file mode 100644 index 00000000..aba19eb6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-min-edge-fading-offset.html @@ -0,0 +1,76 @@ + + + + + getMinEdgeFadingOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getMinEdgeFadingOffset

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-key-intercept-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-key-intercept-listener.html new file mode 100644 index 00000000..1c6b38f1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-key-intercept-listener.html @@ -0,0 +1,76 @@ + + + + + getOnKeyInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOnKeyInterceptListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-motion-intercept-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-motion-intercept-listener.html new file mode 100644 index 00000000..35a53e1e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-motion-intercept-listener.html @@ -0,0 +1,76 @@ + + + + + getOnMotionInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOnMotionInterceptListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-unhandled-key-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-unhandled-key-listener.html new file mode 100644 index 00000000..69f1aa59 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-on-unhandled-key-listener.html @@ -0,0 +1,76 @@ + + + + + getOnUnhandledKeyListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOnUnhandledKeyListener

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-orientation.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-orientation.html new file mode 100644 index 00000000..caccd7eb --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-orientation.html @@ -0,0 +1,76 @@ + + + + + getOrientation + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOrientation

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-parent-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-parent-alignment.html new file mode 100644 index 00000000..e709249b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-parent-alignment.html @@ -0,0 +1,76 @@ + + + + + getParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getParentAlignment

+
+

Return

the current parent alignment configuration

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-selected-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-selected-position.html new file mode 100644 index 00000000..7b8e22f5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-selected-position.html @@ -0,0 +1,76 @@ + + + + + getSelectedPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSelectedPosition

+
+

Return

the current selected position or RecyclerView.NO_POSITION if there's none

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-selected-sub-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-selected-sub-position.html new file mode 100644 index 00000000..8e4d734c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-selected-sub-position.html @@ -0,0 +1,76 @@ + + + + + getSelectedSubPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSelectedSubPosition

+
+

Return

the current selected sub position or 0 if there's none

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-max-pending-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-max-pending-alignments.html new file mode 100644 index 00000000..930ba22b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-max-pending-alignments.html @@ -0,0 +1,76 @@ + + + + + getSmoothScrollMaxPendingAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSmoothScrollMaxPendingAlignments

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-max-pending-moves.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-max-pending-moves.html new file mode 100644 index 00000000..8d4f2ebc --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-max-pending-moves.html @@ -0,0 +1,76 @@ + + + + + getSmoothScrollMaxPendingMoves + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSmoothScrollMaxPendingMoves

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-speed-factor.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-speed-factor.html new file mode 100644 index 00000000..d3b85d1f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-smooth-scroll-speed-factor.html @@ -0,0 +1,76 @@ + + + + + getSmoothScrollSpeedFactor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSmoothScrollSpeedFactor

+
+

See setSmoothScrollSpeedFactor.

Return

Factor of how slow the smooth scroller runs. Default value is 1f.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-span-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-span-count.html new file mode 100644 index 00000000..7e4cb418 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-span-count.html @@ -0,0 +1,76 @@ + + + + + getSpanCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanCount

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-span-size-lookup.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-span-size-lookup.html new file mode 100644 index 00000000..acb5b5c9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/get-span-size-lookup.html @@ -0,0 +1,76 @@ + + + + + getSpanSizeLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanSizeLookup

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/has-overlapping-rendering.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/has-overlapping-rendering.html new file mode 100644 index 00000000..6e6abf44 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/has-overlapping-rendering.html @@ -0,0 +1,76 @@ + + + + + hasOverlappingRendering + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

hasOverlappingRendering

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/index.html new file mode 100644 index 00000000..9b6454b0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/index.html @@ -0,0 +1,12753 @@ + + + + + DpadRecyclerView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadRecyclerView

+
open class DpadRecyclerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.dpadRecyclerViewStyle) : RecyclerView

A RecyclerView that scrolls to items on DPAD key events.

Items are aligned based on the following configurations:

This DpadRecyclerView will only scroll automatically when it has focus and receives DPAD key events. To scroll manually to any given item, check setSelectedPosition, setSelectedPositionSmooth and other related methods.

When using wrap_content for the main scrolling direction, DpadRecyclerView will still measure itself to match its parent's size, but will layout all items at once without any recycling.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.dpadRecyclerViewStyle)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Listener for intercepting key dispatch events.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Listener for receiving notifications of a completed layout pass by the LayoutManager of this RecyclerView

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Listener for intercepting generic motion dispatch events.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Listener for intercepting touch dispatch events

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Listener for intercepting unhandled key events.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Defines behavior of duration and interpolator for smoothScrollBy.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Registers a callback to be invoked when this RecyclerView completes a layout pass.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Registers a callback to be invoked when an item has been focused

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Registers a callback to be invoked when an item has been selected

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun addTouchables(p0: ArrayList<View>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun addView(p0: View)
open override fun addView(p0: View, p1: ViewGroup.LayoutParams)
open fun addView(p0: View, p1: Int)
open fun addView(p0: View, p1: Int, p2: ViewGroup.LayoutParams)
open fun addView(p0: View, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun bringChildToFront(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun bringToFront()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun buildLayer()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun callOnClick(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun cancelLongPress()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun childDrawableStateChanged(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun childHasTransientStateChanged(p0: View, p1: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun clearAnimation()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun clearChildFocus(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun clearFocus()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Clears all existing listeners added by addOnViewFocusedListener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Clears all existing listeners added by addOnViewHolderSelectedListener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeHorizontalScrollExtent(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeHorizontalScrollOffset(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeHorizontalScrollRange(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun computeScroll()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeVerticalScrollExtent(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeVerticalScrollOffset(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun computeVerticalScrollRange(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchDisplayHint(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchDragEvent(p0: DragEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchDrawableHotspotChanged(p0: Float, p1: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchFinishTemporaryDetach()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun dispatchKeyEvent(event: KeyEvent?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchKeyEventPreIme(p0: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchKeyShortcutEvent(p0: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchNestedFling(p0: Float, p1: Float, p2: Boolean): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchNestedPreFling(p0: Float, p1: Float): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?): Boolean
open override fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?, p4: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?): Boolean
open override fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?, p5: Int): Boolean
override fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?, p5: Int, @NonNull p6: IntArray)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchPointerCaptureChanged(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchSetActivated(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchSetSelected(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchStartTemporaryDetach()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchSystemUiVisibilityChanged(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchTouchEvent(event: MotionEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchUnhandledMove(p0: View, p1: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchWindowFocusChanged(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+ +
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchWindowVisibilityChanged(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun draw(@NonNull p0: Canvas)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun drawChild(@NonNull p0: Canvas, p1: View, p2: Long): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Enables fading out the max edge to transparent.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Enables fading out the min edge to transparent.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun endViewTransition(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ + + +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun findFocus(): View
+
+
+
+
+ + + +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : View> findViewById(p0: Int): T
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : View> findViewWithTag(p0: Any): T
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun fling(p0: Int, p1: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun focusableViewAvailable(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun focusSearch(p0: View, p1: Int): View
override fun focusSearch(direction: Int): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun forceLayout()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun gatherTransparentRegion(p0: Region?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getAlpha(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getAutofillType(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getBaseline(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getBottom(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getChildAt(p0: Int): View
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getChildCount(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getChildItemId(@NonNull p0: View): Long
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getChildPosition(@NonNull p0: View): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getChildVisibleRect(p0: View, p1: Rect, p2: Point): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getClipBounds(): Rect
open fun getClipBounds(p0: Rect): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getClipToPadding(): Boolean
+
+
+
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDisplay(): Display
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDrawingRect(p0: Rect)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDrawingTime(): Long
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getElevation(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getExplicitStyle(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getFocusable(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getFocusedChild(): View
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getFocusedRect(p0: Rect)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getHandler(): Handler
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getHeight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getHitRect(p0: Rect)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getId(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getLabelFor(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getLayerType(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getLayoutMode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getLeft(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMatrix(): Matrix
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMinimumHeight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getMinimumWidth(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getNextFocusUpId(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+ +
+ + + +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getOverlay(): ViewGroupOverlay
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingBottom(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingEnd(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingLeft(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingRight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingStart(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPaddingTop(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPivotX(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getPivotY(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getRight(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getRootView(): View
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getRotation(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getRotationX(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getRotationY(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getScaleX(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getScaleY(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getScrollBarSize(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getScrollState(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getSolidColor(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getTag(): Any
open fun getTag(p0: Int): Any
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getTextAlignment(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getTextDirection(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getTop(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getVisibility(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getWidth(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getWindowId(): WindowId
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getX(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getY(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getZ(): Float
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun hasFixedSize(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hasFocus(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun hasFocusable(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hasNestedScrollingParent(): Boolean
open override fun hasNestedScrollingParent(p0: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hasTransientState(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun indexOfChild(p0: View): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun invalidate()
open fun invalidate(p0: Rect)
open fun invalidate(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun invalidateChild(p0: View, p1: Rect)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun invalidateChildInParent(p0: IntArray, p1: Rect): ViewParent
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun invalidateDrawable(p0: Drawable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isActivated(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isAnimating(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isAttachedToWindow(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isClickable(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isCredential(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isDirty(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isEnabled(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isFocused(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isHovered(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isInEditMode(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isInLayout(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isLaidOut(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns if views are laid out from the opposite direction of the layout.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun isLayoutSuppressed(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isNestedScrollingEnabled(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isOpaque(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isPivotSet(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isPressed(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isSelected(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isShown(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun jumpDrawablesToCurrentState()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun layout(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun measure(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun nestedScrollBy(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun notifySubtreeAccessibilityStateChanged(p0: View, p1: View, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun offsetChildrenVertical(@Px p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun offsetLeftAndRight(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun offsetTopAndBottom(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onDescendantInvalidated(p0: View, p1: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onDraw(@NonNull p0: Canvas)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onDrawForeground(p0: Canvas)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onGenericMotionEvent(p0: MotionEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onHoverChanged(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onInterceptTouchEvent(p0: MotionEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onKeyPreIme(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onNestedFling(p0: View, p1: Float, p2: Float, p3: Boolean): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onNestedPreFling(p0: View, p1: Float, p2: Float): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onNestedPrePerformAccessibilityAction(p0: View, p1: Int, p2: Bundle?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onNestedPreScroll(p0: View, p1: Int, p2: Int, p3: IntArray)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onNestedScroll(p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onNestedScrollAccepted(p0: View, p1: View, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onResolvePointerIcon(p0: MotionEvent, p1: Int): PointerIcon
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun onRtlPropertiesChanged(layoutDirection: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onScrolled(@Px p0: Int, @Px p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onScrollStateChanged(state: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStartNestedScroll(p0: View, p1: View, p2: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStopNestedScroll(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTouchEvent(p0: MotionEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onViewAdded(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onViewRemoved(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun performClick(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun playSoundEffect(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun post(p0: Runnable): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun postDelayed(p0: Runnable, p1: Long): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun postInvalidate()
open fun postInvalidate(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun postInvalidateDelayed(p0: Long, p1: Int, p2: Int, p3: Int, p4: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun postInvalidateOnAnimation(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun recomputeViewAttributes(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeAllViews()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+ +
+ + + +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun removeView(view: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun removeViewAt(index: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeViewInLayout(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeViews(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun removeViewsInLayout(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun requestChildFocus(p0: View, p1: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun requestChildRectangleOnScreen(p0: View, p1: Rect, p2: Boolean): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun requestFocus(p0: Int, p1: Rect): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun requestLayout()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun requestTransparentRegion(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : View> requireViewById(p0: Int): T & Any
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun resetPivot()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun restoreDefaultFocus(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scrollBy(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scrollTo(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun scrollToPosition(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendAccessibilityEvent(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setActivated(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setAlignments(parent: ParentAlignment, child: ChildAlignment, smooth: Boolean)

Updates both parent and child alignments

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setAlpha(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setAnimation(p0: Animation)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setAnimationMatrix(p0: Matrix?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setAutofillHints(vararg p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setAutofillId(p0: AutofillId?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setBackground(p0: Drawable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setBackgroundColor(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setBottom(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setCameraDistance(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setChildAlignment(alignment: ChildAlignment, smooth: Boolean = false)

Updates the child alignment configuration for child views of this RecyclerView

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setClickable(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setClipBounds(p0: Rect)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setClipChildren(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setClipToPadding(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setElevation(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setEnabled(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the strategy for calculating extra layout space.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun setFadingEdgeLength(length: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setFocusable(p0: Boolean)
open fun setFocusable(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Changes how RecyclerView will find the next focusable view. Check FocusableDirection for all supported directions. Default is FocusableDirection.STANDARD

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Enables or disables the default rule of drawing the selected view after all other views. Default is true

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setFocusOutAllowed(throughFront: Boolean, throughBack: Boolean)

Sets whether focus can move out from the front and/or back of the RecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setFocusOutSideAllowed(throughFront: Boolean, throughBack: Boolean)

Sets whether focus can move out from the opposite front and/or back of the RecyclerView

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Disables or enables focus search.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Disables or enables focus search while RecyclerView is animating item changes. See RecyclerView.isAnimating.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setForeground(p0: Drawable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setGravity(gravity: Int)

Sets the gravity used for child view positioning. Defaults to Gravity.TOP for horizontal orientation and Gravity.START for vertical orientation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setHandwritingBoundsOffsets(p0: Float, p1: Float, p2: Float, p3: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun setHasFixedSize(hasFixedSize: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Controls the return value of View.hasOverlappingRendering.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setHovered(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setId(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the number of items to prefetch in RecyclerView.LayoutManager.collectInitialPrefetchPositions, which defines how many inner items should be prefetched when this RecyclerView is nested inside another RecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setIsCredential(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setKeepScreenOn(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLabelFor(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLayerPaint(p0: Paint?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLayerType(p0: Int, p1: Paint?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLayoutDirection(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Allows disabling the layout of children. All children are removed if layout is disabled

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLayoutFrozen(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLayoutMode(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setLayoutTransition(p0: LayoutTransition)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

By default, DpadRecyclerView skips layout requests during scrolling because of:

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setLeft(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setLeftTopRightBottom(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Updates the loop direction used by this DpadRecyclerView. By default, the layout does not loop around the items

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the length of the fading effect applied to the max edge in pixels

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the length of the fading effect applied to the min edge in pixels

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the length of the fading effect applied to the min edge in pixels

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the start position of the fading effect applied to the min edge in pixels. Default is 0, which means that the fading effect starts from the min edge (left or top)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setMinimumHeight(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setMinimumWidth(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setNestedScrollingEnabled(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setNextFocusDownId(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setNextFocusLeftId(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setNextFocusRightId(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setNextFocusUpId(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Registers a callback to be invoked when an item of this DpadRecyclerView has been laid out.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Set a listener that intercepts key events received in dispatchKeyEvent

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets the generic motion intercept listener.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Sets a listener for intercepting touch events

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Set a listener that intercepts unhandled key events from dispatchKeyEvent

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setOrientation(orientation: Int)

Updates the orientation of the PivotLayoutManager used by this RecyclerView

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setOverScrollMode(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setPadding(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setPaddingRelative(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParentAlignment(alignment: ParentAlignment, smooth: Boolean = false)

Updates the parent alignment configuration for child views of this RecyclerView

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setPivotX(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setPivotY(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setPressed(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Set whether the LayoutManager of this RecyclerView will recycle its children when this RecyclerView is detached from the window.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setReverseLayout(reverseLayout: Boolean)

Used to reverse item traversal and layout order. This behaves similar to the layout change for RTL views. When set to true, first item is laid out at the end of the UI, second item is laid out before it etc.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setRight(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setRotation(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setRotationX(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setRotationY(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setSaveEnabled(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScaleX(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScaleY(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScrollBarSize(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScrollBarStyle(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Enables or disables scrolling. When this is disabled, DpadRecyclerView can still change focus on DPAD events unless setFocusSearchDisabled is also set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScrollIndicators(p0: Int)
open fun setScrollIndicators(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScrollX(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setScrollY(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setSelected(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSelectedPosition(position: Int)

Changes the selected item immediately without any scroll animation.

fun setSelectedPosition(position: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position after scrolling to it.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Changes the selected item and runs an animation to scroll to the target position.

Performs a task on a ViewHolder at a given position after scrolling to it.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSelectedSubPosition(subPosition: Int)

Changes the sub selected view immediately without any scroll animation.

fun setSelectedSubPosition(position: Int, subPosition: Int)

Changes the main selection and sub selected view immediately without any scroll animation.

fun setSelectedSubPosition(position: Int, subPosition: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position and sub position after scrolling to it.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSelectedSubPositionSmooth(position: Int, subPosition: Int)

Changes the sub selected view and runs and animation to scroll to it.

fun setSelectedSubPositionSmooth(position: Int, subPosition: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position and sub position after scrolling to it.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Enable or disable smooth scrolling to new focused position. By default, this is set to true. When set to false, RecyclerView will scroll immediately to the focused view without any animation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Whenever the user triggers a focus change via a key event, DpadRecyclerView will check if it already has max number of pending alignment changes before dispatching focus to the next view.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

When the user holds down a key, a lot of key events will be generated by the system. These events are generated a lot faster than this DpadRecyclerView can scroll, so these events need to be cached until the user stops pressing the key.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSmoothScrollSpeedFactor(smoothScrollSpeedFactor: Float)

Set how slow the smooth scroller should run. Example:

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setSpanCount(spans: Int)

Updates the number of spans of the PivotLayoutManager used by this RecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Updates the DpadSpanSizeLookup used by the layout manager of this RecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTag(p0: Any)
open fun setTag(p0: Int, p1: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTextAlignment(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTextDirection(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setTop(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTranslationX(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTranslationY(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTranslationZ(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setVisibility(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun setWillNotDraw(willNotDraw: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setX(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setY(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setZ(p0: Float)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun showContextMenu(p0: Float, p1: Float): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun showContextMenuForChild(p0: View): Boolean
open override fun showContextMenuForChild(p0: View, p1: Float, p2: Float): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun smoothScrollBy(@Px p0: Int, @Px p1: Int, @Nullable p2: Interpolator?, p3: Int)
override fun smoothScrollBy(dx: Int, dy: Int)
override fun smoothScrollBy(dx: Int, dy: Int, interpolator: Interpolator?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startNestedScroll(p0: Int): Boolean
open override fun startNestedScroll(axes: Int, type: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun stopNestedScroll()
open override fun stopNestedScroll(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun stopScroll()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
override fun suppressLayout(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun updateViewLayout(p0: View, p1: ViewGroup.LayoutParams)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun willNotDraw(): Boolean
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-focus-drawing-order-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-focus-drawing-order-enabled.html new file mode 100644 index 00000000..d7ce25e0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-focus-drawing-order-enabled.html @@ -0,0 +1,76 @@ + + + + + isFocusDrawingOrderEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFocusDrawingOrderEnabled

+
+

See setFocusDrawingOrderEnabled

Return

true if the selected child view is drawn at last, false otherwise

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-focus-search-disabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-focus-search-disabled.html new file mode 100644 index 00000000..6f81a666 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-focus-search-disabled.html @@ -0,0 +1,76 @@ + + + + + isFocusSearchDisabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFocusSearchDisabled

+
+

Return

True if focus search is disabled.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-item-prefetch-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-item-prefetch-enabled.html new file mode 100644 index 00000000..90874b19 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-item-prefetch-enabled.html @@ -0,0 +1,76 @@ + + + + + isItemPrefetchEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isItemPrefetchEnabled

+
+

See RecyclerView.LayoutManager.isItemPrefetchEnabled

Return

True if items should be prefetched in between traversals.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-layout-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-layout-enabled.html new file mode 100644 index 00000000..ec67251d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-layout-enabled.html @@ -0,0 +1,76 @@ + + + + + isLayoutEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isLayoutEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-layout-reversed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-layout-reversed.html new file mode 100644 index 00000000..55342c42 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-layout-reversed.html @@ -0,0 +1,76 @@ + + + + + isLayoutReversed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isLayoutReversed

+
+

Returns if views are laid out from the opposite direction of the layout.

Return

If layout is reversed or not.

See also

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-max-edge-fading-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-max-edge-fading-enabled.html new file mode 100644 index 00000000..27a8ef0c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-max-edge-fading-enabled.html @@ -0,0 +1,76 @@ + + + + + isMaxEdgeFadingEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isMaxEdgeFadingEnabled

+
+

Return

true if edge fading is enabled for the right or bottom of the layout

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-min-edge-fading-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-min-edge-fading-enabled.html new file mode 100644 index 00000000..8ef65680 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-min-edge-fading-enabled.html @@ -0,0 +1,76 @@ + + + + + isMinEdgeFadingEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isMinEdgeFadingEnabled

+
+

Return

true if edge fading is enabled for the left or top of the layout

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-scroll-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-scroll-enabled.html new file mode 100644 index 00000000..76f890e3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/is-scroll-enabled.html @@ -0,0 +1,76 @@ + + + + + isScrollEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isScrollEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/on-rtl-properties-changed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/on-rtl-properties-changed.html new file mode 100644 index 00000000..fe46a390 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/on-rtl-properties-changed.html @@ -0,0 +1,76 @@ + + + + + onRtlPropertiesChanged + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onRtlPropertiesChanged

+
+
override fun onRtlPropertiesChanged(layoutDirection: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/on-scroll-state-changed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/on-scroll-state-changed.html new file mode 100644 index 00000000..c666eaba --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/on-scroll-state-changed.html @@ -0,0 +1,76 @@ + + + + + onScrollStateChanged + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onScrollStateChanged

+
+
open override fun onScrollStateChanged(state: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-layout-completed-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-layout-completed-listener.html new file mode 100644 index 00000000..620ce779 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-layout-completed-listener.html @@ -0,0 +1,76 @@ + + + + + removeOnLayoutCompletedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeOnLayoutCompletedListener

+
+

Removes a listener added by addOnLayoutCompletedListener

Parameters

listener

The listener to be removed.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-view-focused-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-view-focused-listener.html new file mode 100644 index 00000000..33a4c7da --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-view-focused-listener.html @@ -0,0 +1,76 @@ + + + + + removeOnViewFocusedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeOnViewFocusedListener

+
+

Removes a listener added by addOnViewFocusedListener

Parameters

listener

The listener to be removed.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-view-holder-selected-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-view-holder-selected-listener.html new file mode 100644 index 00000000..457838bc --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-on-view-holder-selected-listener.html @@ -0,0 +1,76 @@ + + + + + removeOnViewHolderSelectedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeOnViewHolderSelectedListener

+
+

Removes a listener added by addOnViewHolderSelectedListener

Parameters

listener

The listener to be removed.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-view-at.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-view-at.html new file mode 100644 index 00000000..b0530254 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-view-at.html @@ -0,0 +1,76 @@ + + + + + removeViewAt + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeViewAt

+
+
override fun removeViewAt(index: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-view.html new file mode 100644 index 00000000..493d11f5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/remove-view.html @@ -0,0 +1,76 @@ + + + + + removeView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeView

+
+
override fun removeView(view: View)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/request-layout.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/request-layout.html new file mode 100644 index 00000000..4710ff1c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/request-layout.html @@ -0,0 +1,76 @@ + + + + + requestLayout + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

requestLayout

+
+
override fun requestLayout()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-alignments.html new file mode 100644 index 00000000..f6a77ac2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-alignments.html @@ -0,0 +1,76 @@ + + + + + setAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setAlignments

+
+
fun setAlignments(parent: ParentAlignment, child: ChildAlignment, smooth: Boolean)

Updates both parent and child alignments

Parameters

parent

the parent alignment configuration

child

the child alignment configuration

smooth

true if the alignment change should be animated

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-child-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-child-alignment.html new file mode 100644 index 00000000..5e1d457c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-child-alignment.html @@ -0,0 +1,76 @@ + + + + + setChildAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setChildAlignment

+
+
fun setChildAlignment(alignment: ChildAlignment, smooth: Boolean = false)

Updates the child alignment configuration for child views of this RecyclerView

Parameters

alignment

the child alignment configuration

smooth

true if the alignment change should be animated

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-child-drawing-order-callback.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-child-drawing-order-callback.html new file mode 100644 index 00000000..1018eb29 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-child-drawing-order-callback.html @@ -0,0 +1,76 @@ + + + + + setChildDrawingOrderCallback + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setChildDrawingOrderCallback

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-extra-layout-space-strategy.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-extra-layout-space-strategy.html new file mode 100644 index 00000000..8d0cd928 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-extra-layout-space-strategy.html @@ -0,0 +1,76 @@ + + + + + setExtraLayoutSpaceStrategy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setExtraLayoutSpaceStrategy

+
+

Sets the strategy for calculating extra layout space.

Note that this is not supported if DpadLoopDirection is used since that would potentially lead to duplicate items in the layout.

Check ExtraLayoutSpaceStrategy for more information.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-fading-edge-length.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-fading-edge-length.html new file mode 100644 index 00000000..a0955620 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-fading-edge-length.html @@ -0,0 +1,76 @@ + + + + + setFadingEdgeLength + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFadingEdgeLength

+
+
override fun setFadingEdgeLength(length: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-drawing-order-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-drawing-order-enabled.html new file mode 100644 index 00000000..40b7569c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-drawing-order-enabled.html @@ -0,0 +1,76 @@ + + + + + setFocusDrawingOrderEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusDrawingOrderEnabled

+
+

Enables or disables the default rule of drawing the selected view after all other views. Default is true

Parameters

enabled

True to draw the selected child at last, false otherwise.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-out-allowed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-out-allowed.html new file mode 100644 index 00000000..16f64e14 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-out-allowed.html @@ -0,0 +1,76 @@ + + + + + setFocusOutAllowed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusOutAllowed

+
+
fun setFocusOutAllowed(throughFront: Boolean, throughBack: Boolean)

Sets whether focus can move out from the front and/or back of the RecyclerView.

Parameters

throughFront

For the vertical orientation, this controls whether focus can move out from the top. For the horizontal orientation, this controls whether focus can move out the left or right (in RTL) side of the grid.

throughBack

For the vertical orientation, this controls whether focus can move out from the bottom. For the horizontal orientation, this controls whether focus can move out the right or left (in RTL) side of the grid.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-out-side-allowed.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-out-side-allowed.html new file mode 100644 index 00000000..d76ba3ef --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-out-side-allowed.html @@ -0,0 +1,76 @@ + + + + + setFocusOutSideAllowed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusOutSideAllowed

+
+
fun setFocusOutSideAllowed(throughFront: Boolean, throughBack: Boolean)

Sets whether focus can move out from the opposite front and/or back of the RecyclerView

Parameters

throughFront

For the vertical orientation, this controls whether focus can move out from the left of the grid. For the horizontal orientation, this controls whether focus can move out the top side of the grid.

throughBack

For the vertical orientation, this controls whether focus can move out from the right of the grid. For the horizontal orientation, this controls whether focus can move out the bottom side of the grid.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-search-disabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-search-disabled.html new file mode 100644 index 00000000..d72beb6e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-search-disabled.html @@ -0,0 +1,76 @@ + + + + + setFocusSearchDisabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusSearchDisabled

+
+

Disables or enables focus search.

Parameters

disabled

True to disable focus search, false to enable.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-search-enabled-during-animations.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-search-enabled-during-animations.html new file mode 100644 index 00000000..f37c9111 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focus-search-enabled-during-animations.html @@ -0,0 +1,76 @@ + + + + + setFocusSearchEnabledDuringAnimations + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusSearchEnabledDuringAnimations

+
+

Disables or enables focus search while RecyclerView is animating item changes. See RecyclerView.isAnimating.

This is disabled by default.

Parameters

enabled

True to enable focus search while RecyclerView is animating item changes, or false to disable

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focusable-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focusable-direction.html new file mode 100644 index 00000000..ac8a9702 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-focusable-direction.html @@ -0,0 +1,76 @@ + + + + + setFocusableDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setFocusableDirection

+
+

Changes how RecyclerView will find the next focusable view. Check FocusableDirection for all supported directions. Default is FocusableDirection.STANDARD

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-gravity.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-gravity.html new file mode 100644 index 00000000..2e57f5d4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-gravity.html @@ -0,0 +1,76 @@ + + + + + setGravity + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setGravity

+
+
fun setGravity(gravity: Int)

Sets the gravity used for child view positioning. Defaults to Gravity.TOP for horizontal orientation and Gravity.START for vertical orientation.

This is only supported for single rows (i.e 1 span)

Parameters

gravity
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-has-fixed-size.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-has-fixed-size.html new file mode 100644 index 00000000..018a058b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-has-fixed-size.html @@ -0,0 +1,76 @@ + + + + + setHasFixedSize + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setHasFixedSize

+
+
override fun setHasFixedSize(hasFixedSize: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-has-overlapping-rendering.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-has-overlapping-rendering.html new file mode 100644 index 00000000..a6138af3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-has-overlapping-rendering.html @@ -0,0 +1,76 @@ + + + + + setHasOverlappingRendering + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setHasOverlappingRendering

+
+

Controls the return value of View.hasOverlappingRendering.

Parameters

enabled

true if overlapping rendering is enabled. Default is true

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-initial-prefetch-item-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-initial-prefetch-item-count.html new file mode 100644 index 00000000..4aecd4b2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-initial-prefetch-item-count.html @@ -0,0 +1,76 @@ + + + + + setInitialPrefetchItemCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setInitialPrefetchItemCount

+
+

Sets the number of items to prefetch in RecyclerView.LayoutManager.collectInitialPrefetchPositions, which defines how many inner items should be prefetched when this RecyclerView is nested inside another RecyclerView.

Parameters

itemCount

Number of items to prefetch

See also

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-item-animator.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-item-animator.html new file mode 100644 index 00000000..84752049 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-item-animator.html @@ -0,0 +1,76 @@ + + + + + setItemAnimator + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setItemAnimator

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-item-prefetch-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-item-prefetch-enabled.html new file mode 100644 index 00000000..32051a7a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-item-prefetch-enabled.html @@ -0,0 +1,76 @@ + + + + + setItemPrefetchEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setItemPrefetchEnabled

+
+

See RecyclerView.LayoutManager.setItemPrefetchEnabled

Parameters

enabled

True if items should be prefetched in between traversals.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-enabled.html new file mode 100644 index 00000000..dcb8baa3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-enabled.html @@ -0,0 +1,76 @@ + + + + + setLayoutEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setLayoutEnabled

+
+

Allows disabling the layout of children. All children are removed if layout is disabled

Parameters

enabled

true to enable layout, false otherwise.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-manager.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-manager.html new file mode 100644 index 00000000..91d227a8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-manager.html @@ -0,0 +1,76 @@ + + + + + setLayoutManager + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setLayoutManager

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-while-scrolling-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-while-scrolling-enabled.html new file mode 100644 index 00000000..06d59482 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-layout-while-scrolling-enabled.html @@ -0,0 +1,76 @@ + + + + + setLayoutWhileScrollingEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setLayoutWhileScrollingEnabled

+
+

By default, DpadRecyclerView skips layout requests during scrolling because of:

  1. Compose animations trigger a full unnecessary layout-pass

  2. Content jumping around while scrolling is not ideal sometimes

Parameters

enabled

true if layout requests should be possible while scrolling, or false if they should be postponed until RecyclerView.SCROLL_STATE_IDLE. Default is false.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-loop-direction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-loop-direction.html new file mode 100644 index 00000000..b0af6188 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-loop-direction.html @@ -0,0 +1,76 @@ + + + + + setLoopDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setLoopDirection

+
+

Updates the loop direction used by this DpadRecyclerView. By default, the layout does not loop around the items

Parameters

loopDirection

the DpadLoopDirection to use for looping items

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-max-edge-fading-length.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-max-edge-fading-length.html new file mode 100644 index 00000000..2335ea74 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-max-edge-fading-length.html @@ -0,0 +1,76 @@ + + + + + setMaxEdgeFadingLength + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMaxEdgeFadingLength

+
+

Sets the length of the fading effect applied to the max edge in pixels

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-max-edge-fading-offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-max-edge-fading-offset.html new file mode 100644 index 00000000..dc93e91f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-max-edge-fading-offset.html @@ -0,0 +1,76 @@ + + + + + setMaxEdgeFadingOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMaxEdgeFadingOffset

+
+

Sets the length of the fading effect applied to the min edge in pixels

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-min-edge-fading-length.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-min-edge-fading-length.html new file mode 100644 index 00000000..59cfb26d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-min-edge-fading-length.html @@ -0,0 +1,76 @@ + + + + + setMinEdgeFadingLength + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMinEdgeFadingLength

+
+

Sets the length of the fading effect applied to the min edge in pixels

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-min-edge-fading-offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-min-edge-fading-offset.html new file mode 100644 index 00000000..fd067934 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-min-edge-fading-offset.html @@ -0,0 +1,76 @@ + + + + + setMinEdgeFadingOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMinEdgeFadingOffset

+
+

Sets the start position of the fading effect applied to the min edge in pixels. Default is 0, which means that the fading effect starts from the min edge (left or top)

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-child-laid-out-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-child-laid-out-listener.html new file mode 100644 index 00000000..f9aa9791 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-child-laid-out-listener.html @@ -0,0 +1,76 @@ + + + + + setOnChildLaidOutListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOnChildLaidOutListener

+
+

Registers a callback to be invoked when an item of this DpadRecyclerView has been laid out.

Parameters

listener

the listener to be invoked.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-key-intercept-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-key-intercept-listener.html new file mode 100644 index 00000000..16768452 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-key-intercept-listener.html @@ -0,0 +1,76 @@ + + + + + setOnKeyInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOnKeyInterceptListener

+
+

Set a listener that intercepts key events received in dispatchKeyEvent

Parameters

listener

The key intercept listener.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-motion-intercept-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-motion-intercept-listener.html new file mode 100644 index 00000000..04a1d597 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-motion-intercept-listener.html @@ -0,0 +1,76 @@ + + + + + setOnMotionInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOnMotionInterceptListener

+
+

Sets the generic motion intercept listener.

Parameters

listener

The motion intercept listener.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-touch-intercept-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-touch-intercept-listener.html new file mode 100644 index 00000000..2d6bda33 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-touch-intercept-listener.html @@ -0,0 +1,76 @@ + + + + + setOnTouchInterceptListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOnTouchInterceptListener

+
+

Sets a listener for intercepting touch events

Parameters

listener

the touch intercept listener

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-unhandled-key-listener.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-unhandled-key-listener.html new file mode 100644 index 00000000..6a45b4cf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-on-unhandled-key-listener.html @@ -0,0 +1,76 @@ + + + + + setOnUnhandledKeyListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOnUnhandledKeyListener

+
+

Set a listener that intercepts unhandled key events from dispatchKeyEvent

Parameters

listener

The unhandled key intercept listener.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-orientation.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-orientation.html new file mode 100644 index 00000000..11ca79a7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-orientation.html @@ -0,0 +1,76 @@ + + + + + setOrientation + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setOrientation

+
+
fun setOrientation(orientation: Int)

Updates the orientation of the PivotLayoutManager used by this RecyclerView

Parameters

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-parent-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-parent-alignment.html new file mode 100644 index 00000000..6fc8e0d6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-parent-alignment.html @@ -0,0 +1,76 @@ + + + + + setParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setParentAlignment

+
+
fun setParentAlignment(alignment: ParentAlignment, smooth: Boolean = false)

Updates the parent alignment configuration for child views of this RecyclerView

Parameters

alignment

the parent alignment configuration

smooth

true if the alignment change should be animated

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-recycle-children-on-detach.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-recycle-children-on-detach.html new file mode 100644 index 00000000..4d7fa816 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-recycle-children-on-detach.html @@ -0,0 +1,76 @@ + + + + + setRecycleChildrenOnDetach + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setRecycleChildrenOnDetach

+
+

Set whether the LayoutManager of this RecyclerView will recycle its children when this RecyclerView is detached from the window.

If you are re-using a RecyclerView.RecycledViewPool, it might be a good idea to set this flag to true so that views will be available to other RecyclerViews immediately.

Parameters

recycle

Whether children should be recycled in detach or not.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-reverse-layout.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-reverse-layout.html new file mode 100644 index 00000000..c8fc6327 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-reverse-layout.html @@ -0,0 +1,76 @@ + + + + + setReverseLayout + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setReverseLayout

+
+
fun setReverseLayout(reverseLayout: Boolean)

Used to reverse item traversal and layout order. This behaves similar to the layout change for RTL views. When set to true, first item is laid out at the end of the UI, second item is laid out before it etc.

For horizontal layouts, it depends on the layout direction.

When set to true:

  • If this DpadRecyclerView is LTR, then it will layout from RTL.

  • If it is RTL, it will layout from LTR.

Parameters

reverseLayout

True to reverse the layout order

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-scroll-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-scroll-enabled.html new file mode 100644 index 00000000..158f7769 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-scroll-enabled.html @@ -0,0 +1,76 @@ + + + + + setScrollEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setScrollEnabled

+
+

Enables or disables scrolling. When this is disabled, DpadRecyclerView can still change focus on DPAD events unless setFocusSearchDisabled is also set.

Parameters

enabled

true if scrolling should be enabled, false otherwise

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-position-smooth.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-position-smooth.html new file mode 100644 index 00000000..73b7a526 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-position-smooth.html @@ -0,0 +1,76 @@ + + + + + setSelectedPositionSmooth + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSelectedPositionSmooth

+
+

Changes the selected item and runs an animation to scroll to the target position.

Parameters

position

Adapter position of the item to select


Performs a task on a ViewHolder at a given position after scrolling to it.

Parameters

position

Adapter position of the item to select

task

Task to executed on the ViewHolder at the given position

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-position.html new file mode 100644 index 00000000..7d3ba42e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-position.html @@ -0,0 +1,76 @@ + + + + + setSelectedPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSelectedPosition

+
+
fun setSelectedPosition(position: Int)

Changes the selected item immediately without any scroll animation.

Parameters

position

adapter position of the item to select


fun setSelectedPosition(position: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position after scrolling to it.

Parameters

position

Adapter position of the item to select

task

Task to executed on the ViewHolder at the given position

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-sub-position-smooth.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-sub-position-smooth.html new file mode 100644 index 00000000..1afca327 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-sub-position-smooth.html @@ -0,0 +1,76 @@ + + + + + setSelectedSubPositionSmooth + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSelectedSubPositionSmooth

+
+

Changes the sub selected view and runs and animation to scroll to it.

Parameters

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments


fun setSelectedSubPositionSmooth(position: Int, subPosition: Int)

Changes the sub selected view and runs and animation to scroll to it.

Parameters

position

Adapter position of the item to select

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments


fun setSelectedSubPositionSmooth(position: Int, subPosition: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position and sub position after scrolling to it.

Parameters

position

Adapter position of the item to select

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments

task

Task to executed on the ViewHolder at the given position

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-sub-position.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-sub-position.html new file mode 100644 index 00000000..619fe0c6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-selected-sub-position.html @@ -0,0 +1,76 @@ + + + + + setSelectedSubPosition + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSelectedSubPosition

+
+
fun setSelectedSubPosition(position: Int, subPosition: Int)

Changes the main selection and sub selected view immediately without any scroll animation.

Parameters

position

Adapter position of the item to select

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments


fun setSelectedSubPosition(position: Int, subPosition: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position and sub position after scrolling to it.

Parameters

position

Adapter position of the item to select

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments

task

Task to executed on the ViewHolder at the given position


fun setSelectedSubPosition(subPosition: Int)

Changes the sub selected view immediately without any scroll animation.

Parameters

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-focus-changes-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-focus-changes-enabled.html new file mode 100644 index 00000000..d62daec5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-focus-changes-enabled.html @@ -0,0 +1,76 @@ + + + + + setSmoothFocusChangesEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothFocusChangesEnabled

+
+

Enable or disable smooth scrolling to new focused position. By default, this is set to true. When set to false, RecyclerView will scroll immediately to the focused view without any animation.

Parameters

enabled

true to smooth scroll to the new focused position, false to scroll immediately

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-behavior.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-behavior.html new file mode 100644 index 00000000..e1d005d8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-behavior.html @@ -0,0 +1,76 @@ + + + + + setSmoothScrollBehavior + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothScrollBehavior

+
+

Set a custom behavior for smoothScrollBy

Parameters

behavior

Custom behavior or null for the default behavior.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-max-pending-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-max-pending-alignments.html new file mode 100644 index 00000000..4cdcedcc --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-max-pending-alignments.html @@ -0,0 +1,76 @@ + + + + + setSmoothScrollMaxPendingAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothScrollMaxPendingAlignments

+
+

Whenever the user triggers a focus change via a key event, DpadRecyclerView will check if it already has max number of pending alignment changes before dispatching focus to the next view.

Example: User presses KeyEvent.KEYCODE_DPAD_RIGHT 5 times and max is 2.

If focus is at position N, pressing KeyEvent.KEYCODE_DPAD_RIGHT 5 times will only dispatch focus up to position N + max instead of N + 5

Once a view is aligned to its final position or RecyclerView.getScrollState is RecyclerView.SCROLL_STATE_IDLE, we consume that alignment change.

Parameters

max

Maximum number of pending alignment changes

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-max-pending-moves.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-max-pending-moves.html new file mode 100644 index 00000000..a23ab4a2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-max-pending-moves.html @@ -0,0 +1,76 @@ + + + + + setSmoothScrollMaxPendingMoves + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothScrollMaxPendingMoves

+
+

When the user holds down a key, a lot of key events will be generated by the system. These events are generated a lot faster than this DpadRecyclerView can scroll, so these events need to be cached until the user stops pressing the key.

If this value is too high, then scrolling will take place a lot longer after the key press stops. And if this value is too low, DpadRecyclerView might miss many key events.

The default value is 10.

It might make sense to decrease this if setSmoothScrollSpeedFactor was increased to avoid scrolling for too long after key presses are over.

Parameters

max

Maximum number of pending key events to be remembered.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-speed-factor.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-speed-factor.html new file mode 100644 index 00000000..e17b97b0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-smooth-scroll-speed-factor.html @@ -0,0 +1,76 @@ + + + + + setSmoothScrollSpeedFactor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothScrollSpeedFactor

+
+
fun setSmoothScrollSpeedFactor(smoothScrollSpeedFactor: Float)

Set how slow the smooth scroller should run. Example:

  • When set to 2f, the smooth scroller is twice slower.

  • When set to 0.5f, the smooth scroller is twice faster.

The value is 1f by default.

Parameters

smoothScrollSpeedFactor

Factor of how slow the smooth scroll is.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-span-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-span-count.html new file mode 100644 index 00000000..0138432f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-span-count.html @@ -0,0 +1,76 @@ + + + + + setSpanCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpanCount

+
+
fun setSpanCount(spans: Int)

Updates the number of spans of the PivotLayoutManager used by this RecyclerView.

Parameters

spans

number of columns in vertical orientation, or number of rows in horizontal orientation. Must be greater than 0

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-span-size-lookup.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-span-size-lookup.html new file mode 100644 index 00000000..30724d95 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-span-size-lookup.html @@ -0,0 +1,76 @@ + + + + + setSpanSizeLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpanSizeLookup

+
+

Updates the DpadSpanSizeLookup used by the layout manager of this RecyclerView.

Parameters

spanSizeLookup

the new span size configuration

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-will-not-draw.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-will-not-draw.html new file mode 100644 index 00000000..7723b54c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/set-will-not-draw.html @@ -0,0 +1,76 @@ + + + + + setWillNotDraw + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setWillNotDraw

+
+
override fun setWillNotDraw(willNotDraw: Boolean)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/smooth-scroll-by.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/smooth-scroll-by.html new file mode 100644 index 00000000..cfe1c546 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/smooth-scroll-by.html @@ -0,0 +1,76 @@ + + + + + smoothScrollBy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

smoothScrollBy

+
+
override fun smoothScrollBy(dx: Int, dy: Int)
override fun smoothScrollBy(dx: Int, dy: Int, interpolator: Interpolator?)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/start-nested-scroll.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/start-nested-scroll.html new file mode 100644 index 00000000..832f1741 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-recycler-view/start-nested-scroll.html @@ -0,0 +1,76 @@ + + + + + startNestedScroll + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startNestedScroll

+
+
open override fun startNestedScroll(axes: Int, type: Int): Boolean
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-dpad-scroller.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-dpad-scroller.html new file mode 100644 index 00000000..3f3e9bf7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-dpad-scroller.html @@ -0,0 +1,76 @@ + + + + + DpadScroller + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadScroller

+
+
constructor(calculator: DpadScroller.ScrollDistanceCalculator = DefaultScrollDistanceCalculator())
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-scroll-distance-calculator/calculate-scroll-distance.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-scroll-distance-calculator/calculate-scroll-distance.html new file mode 100644 index 00000000..37baa0de --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-scroll-distance-calculator/calculate-scroll-distance.html @@ -0,0 +1,76 @@ + + + + + calculateScrollDistance + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

calculateScrollDistance

+
+
abstract fun calculateScrollDistance(recyclerView: DpadRecyclerView, event: KeyEvent): Int

Return

the number of pixels we should scroll for this event

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-scroll-distance-calculator/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-scroll-distance-calculator/index.html new file mode 100644 index 00000000..3277e01c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/-scroll-distance-calculator/index.html @@ -0,0 +1,100 @@ + + + + + ScrollDistanceCalculator + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ScrollDistanceCalculator

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun calculateScrollDistance(recyclerView: DpadRecyclerView, event: KeyEvent): Int
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/attach.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/attach.html new file mode 100644 index 00000000..3eb511b4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/attach.html @@ -0,0 +1,76 @@ + + + + + attach + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

attach

+
+
fun attach(recyclerView: DpadRecyclerView)

Attaches this DpadScroller to a new DpadRecyclerView to start observing key events. If you no longer need this behavior, call detach

Parameters

recyclerView

The RecyclerView that will be scrolled discretely

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/detach.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/detach.html new file mode 100644 index 00000000..77b431c4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/detach.html @@ -0,0 +1,76 @@ + + + + + detach + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detach

+
+
fun detach()

Stops observing key events to scroll the current attached DpadRecyclerView, if any exists

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/index.html new file mode 100644 index 00000000..2f678286 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/index.html @@ -0,0 +1,168 @@ + + + + + DpadScroller + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadScroller

+
class DpadScroller(calculator: DpadScroller.ScrollDistanceCalculator = DefaultScrollDistanceCalculator())

A helper class that allows scrolling a DpadRecyclerView based on specific scroll distances, ignoring the default alignment behavior.

A typical use case for this class is a terms & conditions page, where a large amount of text is displayed, which the user isn't expected to interact with

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(calculator: DpadScroller.ScrollDistanceCalculator = DefaultScrollDistanceCalculator())
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun attach(recyclerView: DpadRecyclerView)

Attaches this DpadScroller to a new DpadRecyclerView to start observing key events. If you no longer need this behavior, call detach

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun detach()

Stops observing key events to scroll the current attached DpadRecyclerView, if any exists

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Enables or disables smooth scrolling on key events

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/set-smooth-scroll-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/set-smooth-scroll-enabled.html new file mode 100644 index 00000000..75d69b8f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-scroller/set-smooth-scroll-enabled.html @@ -0,0 +1,76 @@ + + + + + setSmoothScrollEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSmoothScrollEnabled

+
+

Enables or disables smooth scrolling on key events

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/-dpad-selection-snap-helper.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/-dpad-selection-snap-helper.html new file mode 100644 index 00000000..05b878e0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/-dpad-selection-snap-helper.html @@ -0,0 +1,76 @@ + + + + + DpadSelectionSnapHelper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSelectionSnapHelper

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/attach-to-recycler-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/attach-to-recycler-view.html new file mode 100644 index 00000000..7919549f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/attach-to-recycler-view.html @@ -0,0 +1,76 @@ + + + + + attachToRecyclerView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

attachToRecyclerView

+
+
open override fun attachToRecyclerView(recyclerView: RecyclerView?)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/calculate-distance-to-final-snap.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/calculate-distance-to-final-snap.html new file mode 100644 index 00000000..12c3da54 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/calculate-distance-to-final-snap.html @@ -0,0 +1,76 @@ + + + + + calculateDistanceToFinalSnap + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

calculateDistanceToFinalSnap

+
+
open override fun calculateDistanceToFinalSnap(layoutManager: RecyclerView.LayoutManager, targetView: View): IntArray
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/find-snap-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/find-snap-view.html new file mode 100644 index 00000000..5d93c3ef --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/find-snap-view.html @@ -0,0 +1,76 @@ + + + + + findSnapView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findSnapView

+
+
open override fun findSnapView(layoutManager: RecyclerView.LayoutManager): View?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/index.html new file mode 100644 index 00000000..1f000ffb --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-selection-snap-helper/index.html @@ -0,0 +1,194 @@ + + + + + DpadSelectionSnapHelper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSelectionSnapHelper

+

A SnapHelper that scrolls Views to their alignment configuration and performs selections automatically. Use this only if you need to support touch event handling, as DpadRecyclerView by default does not handle selection on touch events.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun attachToRecyclerView(recyclerView: RecyclerView?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun calculateDistanceToFinalSnap(layoutManager: RecyclerView.LayoutManager, targetView: View): IntArray
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun findSnapView(layoutManager: RecyclerView.LayoutManager): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun findTargetSnapPosition(p0: RecyclerView.LayoutManager, p1: Int, p2: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onFling(p0: Int, p1: Int): Boolean
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/-dpad-span-size-lookup.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/-dpad-span-size-lookup.html new file mode 100644 index 00000000..e6e2f4d4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/-dpad-span-size-lookup.html @@ -0,0 +1,76 @@ + + + + + DpadSpanSizeLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSpanSizeLookup

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-cached-span-group-index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-cached-span-group-index.html new file mode 100644 index 00000000..bbe09bc3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-cached-span-group-index.html @@ -0,0 +1,76 @@ + + + + + getCachedSpanGroupIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getCachedSpanGroupIndex

+
+
fun getCachedSpanGroupIndex(position: Int, spanCount: Int): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-cached-span-index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-cached-span-index.html new file mode 100644 index 00000000..3ef9f707 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-cached-span-index.html @@ -0,0 +1,76 @@ + + + + + getCachedSpanIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getCachedSpanIndex

+
+
fun getCachedSpanIndex(position: Int, spanCount: Int): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-group-index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-group-index.html new file mode 100644 index 00000000..7f46b44a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-group-index.html @@ -0,0 +1,76 @@ + + + + + getSpanGroupIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanGroupIndex

+
+
open fun getSpanGroupIndex(position: Int, spanCount: Int): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-index.html new file mode 100644 index 00000000..1003167e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-index.html @@ -0,0 +1,76 @@ + + + + + getSpanIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanIndex

+
+
open fun getSpanIndex(position: Int, spanCount: Int): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-size.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-size.html new file mode 100644 index 00000000..3988b7f3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/get-span-size.html @@ -0,0 +1,76 @@ + + + + + getSpanSize + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSpanSize

+
+
abstract fun getSpanSize(position: Int): Int

Returns the number of span occupied by the item at position.

Return

The number of spans occupied by the item at the provided position

Parameters

position

The adapter position of the item

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/index.html new file mode 100644 index 00000000..b43db21d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/index.html @@ -0,0 +1,224 @@ + + + + + DpadSpanSizeLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadSpanSizeLookup

+
abstract class DpadSpanSizeLookup

A helper class to provide the number of spans each item occupies.

Default implementation sets each item to occupy exactly 1 span.

Extracted from: GridLayoutManager.SpanSizeLookup to access package protected methods

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getCachedSpanGroupIndex(position: Int, spanCount: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getCachedSpanIndex(position: Int, spanCount: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getSpanGroupIndex(position: Int, spanCount: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getSpanIndex(position: Int, spanCount: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getSpanSize(position: Int): Int

Returns the number of span occupied by the item at position.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/invalidate-cache.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/invalidate-cache.html new file mode 100644 index 00000000..b7f16a56 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/invalidate-cache.html @@ -0,0 +1,76 @@ + + + + + invalidateCache + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invalidateCache

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/set-span-group-index-cache-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/set-span-group-index-cache-enabled.html new file mode 100644 index 00000000..cdc0caaa --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/set-span-group-index-cache-enabled.html @@ -0,0 +1,76 @@ + + + + + setSpanGroupIndexCacheEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpanGroupIndexCacheEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/set-span-index-cache-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/set-span-index-cache-enabled.html new file mode 100644 index 00000000..ab0585b3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-span-size-lookup/set-span-index-cache-enabled.html @@ -0,0 +1,76 @@ + + + + + setSpanIndexCacheEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setSpanIndexCacheEnabled

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/get-sub-position-alignments.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/get-sub-position-alignments.html new file mode 100644 index 00000000..718a1274 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/get-sub-position-alignments.html @@ -0,0 +1,76 @@ + + + + + getSubPositionAlignments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSubPositionAlignments

+
+

Return

the alignment configurations to use for this ViewHolder, or empty if it should be aligned using the configuration of the DpadRecyclerView

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/index.html new file mode 100644 index 00000000..b98925b0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/index.html @@ -0,0 +1,145 @@ + + + + + DpadViewHolder + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DpadViewHolder

+
interface DpadViewHolder

A ViewHolder managed by DpadRecyclerView.

Implement this in case you're interested in receiving selection changes or customising alignment

For receiving focus changes, use the standard View.setOnFocusChangeListener instead

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Will be called whenever this ViewHolder is no longer the current one selected.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Will be called whenever this ViewHolder is the current one selected.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Will be called after onViewHolderSelected once the RecyclerView stops scrolling and the ViewHolder is aligned in its final position

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-deselected.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-deselected.html new file mode 100644 index 00000000..38f943d0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-deselected.html @@ -0,0 +1,76 @@ + + + + + onViewHolderDeselected + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onViewHolderDeselected

+
+

Will be called whenever this ViewHolder is no longer the current one selected.

This is NOT the same as losing focus.

To observe focus changes, you need to use the focus listener set via View.setOnFocusChangeListener

This is called automatically by DpadRecyclerView on selection changes.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-selected-and-aligned.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-selected-and-aligned.html new file mode 100644 index 00000000..7ed8a164 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-selected-and-aligned.html @@ -0,0 +1,76 @@ + + + + + onViewHolderSelectedAndAligned + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onViewHolderSelectedAndAligned

+
+

Will be called after onViewHolderSelected once the RecyclerView stops scrolling and the ViewHolder is aligned in its final position

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-selected.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-selected.html new file mode 100644 index 00000000..ed5a8dd3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-dpad-view-holder/on-view-holder-selected.html @@ -0,0 +1,76 @@ + + + + + onViewHolderSelected + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onViewHolderSelected

+
+

Will be called whenever this ViewHolder is the current one selected.

This is NOT the same as gaining focus.

To observe focus changes, you need to use the focus listener set via View.setOnFocusChangeListener

This is called automatically by DpadRecyclerView on selection changes.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/calculate-end-extra-layout-space.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/calculate-end-extra-layout-space.html new file mode 100644 index 00000000..c7cc72b8 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/calculate-end-extra-layout-space.html @@ -0,0 +1,76 @@ + + + + + calculateEndExtraLayoutSpace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

calculateEndExtraLayoutSpace

+
+

Calculates the extra space that should be laid out (in pixels)

By default, DpadRecyclerView will not layout any extra space to minimise the number of views in memory.

Return

the extra space (in pixels) to be added to the end of the layout

Parameters

state

the current DpadRecyclerView state

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/calculate-start-extra-layout-space.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/calculate-start-extra-layout-space.html new file mode 100644 index 00000000..3a69c7a2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/calculate-start-extra-layout-space.html @@ -0,0 +1,76 @@ + + + + + calculateStartExtraLayoutSpace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

calculateStartExtraLayoutSpace

+
+

Return

the extra space (in pixels) to be added to the start of the layout

Parameters

state

the current DpadRecyclerView state

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/index.html new file mode 100644 index 00000000..241d256e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-extra-layout-space-strategy/index.html @@ -0,0 +1,115 @@ + + + + + ExtraLayoutSpaceStrategy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ExtraLayoutSpaceStrategy

+

Overrides the default mechanism for laying out extra views at the borders of the RecyclerView. Check LinearLayoutManager.calculateExtraLayoutSpace for more details.

By default, DpadRecyclerView will not layout any extra space to minimise the number of views in memory.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Calculates the extra space that should be laid out (in pixels)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-c-i-r-c-u-l-a-r/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-c-i-r-c-u-l-a-r/index.html new file mode 100644 index 00000000..283d7858 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-c-i-r-c-u-l-a-r/index.html @@ -0,0 +1,115 @@ + + + + + CIRCULAR + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CIRCULAR

+

Similar to STANDARD, but applies a different logic for the edges:

  • If the current focus is in the last column, when pressing right, the focus goes to the leftmost column

  • If the current focus is in the first column, when pressing left, the focus goes to the rightmost column

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-c-o-n-t-i-n-u-o-u-s/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-c-o-n-t-i-n-u-o-u-s/index.html new file mode 100644 index 00000000..dc4fa8d2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-c-o-n-t-i-n-u-o-u-s/index.html @@ -0,0 +1,115 @@ + + + + + CONTINUOUS + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CONTINUOUS

+

Similar to STANDARD, but applies a different logic at the edges:

  • If focusing forward (e.g Dpad right on a vertical grid) on the last column, the next focused item will be the item in the first column of the next row.

  • If focusing backwards (e.g Dpad left on a vertical grid) on the first column, the next focused item will be the item in the last column of the previous row.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-s-t-a-n-d-a-r-d/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-s-t-a-n-d-a-r-d/index.html new file mode 100644 index 00000000..6ddf9952 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/-s-t-a-n-d-a-r-d/index.html @@ -0,0 +1,115 @@ + + + + + STANDARD + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

STANDARD

+

Focus goes to the next left, top, right or bottom view available

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/entries.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/entries.html new file mode 100644 index 00000000..b949eb3b --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/index.html new file mode 100644 index 00000000..777c2841 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/index.html @@ -0,0 +1,213 @@ + + + + + FocusableDirection + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

FocusableDirection

+ +
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Focus goes to the next left, top, right or bottom view available

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Similar to STANDARD, but applies a different logic for the edges:

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Similar to STANDARD, but applies a different logic at the edges:

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/value-of.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/value-of.html new file mode 100644 index 00000000..1620687c --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/values.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/values.html new file mode 100644 index 00000000..877d88fe --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-focusable-direction/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-child-laid-out-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-child-laid-out-listener/index.html new file mode 100644 index 00000000..41ceb3c9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-child-laid-out-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnChildLaidOutListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnChildLaidOutListener

+

Listener for receiving layout events of children of this RecyclerView

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Called after a ViewHolder's view has been added to the view hierarchy and has been laid out

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-child-laid-out-listener/on-child-laid-out.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-child-laid-out-listener/on-child-laid-out.html new file mode 100644 index 00000000..bd8ce957 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-child-laid-out-listener/on-child-laid-out.html @@ -0,0 +1,76 @@ + + + + + onChildLaidOut + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onChildLaidOut

+
+

Called after a ViewHolder's view has been added to the view hierarchy and has been laid out

Parameters

parent

the RecyclerView that contains this child

child

the RecyclerView.ViewHolder that was laid out

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-focused-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-focused-listener/index.html new file mode 100644 index 00000000..e8f50f5f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-focused-listener/index.html @@ -0,0 +1,100 @@ + + + + + OnViewFocusedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnViewFocusedListener

+

Callback for receiving a notification when a View of a RecyclerView.ViewHolder has been focused.

Be aware that a RecyclerView.ViewHolder selection can change without focus and, in that case, this callback is not invoked. Instead, use OnViewHolderSelectedListener for observing selections

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun onViewFocused(parent: RecyclerView.ViewHolder, child: View)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-focused-listener/on-view-focused.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-focused-listener/on-view-focused.html new file mode 100644 index 00000000..ae775aac --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-focused-listener/on-view-focused.html @@ -0,0 +1,76 @@ + + + + + onViewFocused + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onViewFocused

+
+
abstract fun onViewFocused(parent: RecyclerView.ViewHolder, child: View)

Parameters

parent

The RecyclerView.ViewHolder within the RecyclerView that is focused

child

The actual child View that received focus. Can be a child of a nested RecyclerView.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/index.html new file mode 100644 index 00000000..7ec5c8ef --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/index.html @@ -0,0 +1,115 @@ + + + + + OnViewHolderSelectedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

OnViewHolderSelectedListener

+

Callback for receiving a notification when a ViewHolder has been selected. There are two methods:

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onViewHolderSelected(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onViewHolderSelectedAndAligned(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)

Called when child has scrolled to its final position

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/on-view-holder-selected-and-aligned.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/on-view-holder-selected-and-aligned.html new file mode 100644 index 00000000..157ff457 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/on-view-holder-selected-and-aligned.html @@ -0,0 +1,76 @@ + + + + + onViewHolderSelectedAndAligned + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onViewHolderSelectedAndAligned

+
+
open fun onViewHolderSelectedAndAligned(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)

Called when child has scrolled to its final position

Parameters

parent

The RecyclerView where the selection happened.

child

The ViewHolder within the RecyclerView that is selected, or null if no view is selected.

position

The position of the view in the adapter, or NO_POSITION if no view is selected.

subPosition

The index of the alignment from DpadViewHolder.getSubPositionAlignments, or 0 if there is no custom alignment

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/on-view-holder-selected.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/on-view-holder-selected.html new file mode 100644 index 00000000..4d3ff223 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-on-view-holder-selected-listener/on-view-holder-selected.html @@ -0,0 +1,76 @@ + + + + + onViewHolderSelected + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onViewHolderSelected

+
+
open fun onViewHolderSelected(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)

Parameters

parent

The RecyclerView where the selection happened.

child

The ViewHolder within the RecyclerView that is selected, or null if no view is selected.

position

The position of the view in the adapter, or NO_POSITION if no view is selected.

subPosition

The index of the alignment from DpadViewHolder.getSubPositionAlignments, or 0 if there is no custom alignment

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/create-from-parcel.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/create-from-parcel.html new file mode 100644 index 00000000..9bfe1ede --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/create-from-parcel.html @@ -0,0 +1,76 @@ + + + + + createFromParcel + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

createFromParcel

+
+
open override fun createFromParcel(parcel: Parcel): ParentAlignment
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/index.html new file mode 100644 index 00000000..2e6b0c50 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/index.html @@ -0,0 +1,115 @@ + + + + + CREATOR + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CREATOR

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createFromParcel(parcel: Parcel): ParentAlignment
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun newArray(size: Int): Array<ParentAlignment?>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/new-array.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/new-array.html new file mode 100644 index 00000000..8e2ac420 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-c-r-e-a-t-o-r/new-array.html @@ -0,0 +1,76 @@ + + + + + newArray + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

newArray

+
+
open override fun newArray(size: Int): Array<ParentAlignment?>
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-a-x/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-a-x/index.html new file mode 100644 index 00000000..147918ff --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-a-x/index.html @@ -0,0 +1,115 @@ + + + + + MAX + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MAX

+

All items will be always aligned to the keyline position except the item at the end. This will be the bottom for Vertical orientation, or end for Horizontal orientation

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-i-n/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-i-n/index.html new file mode 100644 index 00000000..a630e9f0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-i-n/index.html @@ -0,0 +1,115 @@ + + + + + MIN + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MIN

+

All items will be always aligned to the keyline position except the item at the start. This will be the top for Vertical orientation, or start for the horizontal orientation

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-i-n_-m-a-x/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-i-n_-m-a-x/index.html new file mode 100644 index 00000000..85a4e77e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-m-i-n_-m-a-x/index.html @@ -0,0 +1,115 @@ + + + + + MIN_MAX + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MIN_MAX

+

All items will be always aligned to the keyline position except the items at the start and end edges

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-n-o-n-e/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-n-o-n-e/index.html new file mode 100644 index 00000000..1a95e20d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/-n-o-n-e/index.html @@ -0,0 +1,115 @@ + + + + + NONE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

NONE

+

Items will always be aligned to the keyline position by default

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/entries.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/entries.html new file mode 100644 index 00000000..7fb040ec --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/index.html new file mode 100644 index 00000000..506d2dd4 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/index.html @@ -0,0 +1,228 @@ + + + + + Edge + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Edge

+

Overrides the keyline alignment and instead aligns to a certain edge.

MIN and MAX are considered from the layout direction, so in case reverse layout is enabled, MIN and MAX will point instead to bottom/top for vertical layouts and left/right for horizontal layouts.

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Items will always be aligned to the keyline position by default

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All items will be always aligned to the keyline position except the item at the start. This will be the top for Vertical orientation, or start for the horizontal orientation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All items will be always aligned to the keyline position except the item at the end. This will be the bottom for Vertical orientation, or end for Horizontal orientation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All items will be always aligned to the keyline position except the items at the start and end edges

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/value-of.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/value-of.html new file mode 100644 index 00000000..8a647fa2 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/values.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/values.html new file mode 100644 index 00000000..c08448b5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-edge/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-parent-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-parent-alignment.html new file mode 100644 index 00000000..d13b2ba7 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/-parent-alignment.html @@ -0,0 +1,76 @@ + + + + + ParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ParentAlignment

+
+
constructor(parcel: Parcel)
constructor(edge: ParentAlignment.Edge = Edge.MIN_MAX, offset: Int = ViewAlignment.DEFAULT_OFFSET, fraction: Float = ViewAlignment.DEFAULT_FRACTION, isFractionEnabled: Boolean = true, preferKeylineOverEdge: Boolean = edge == MAX)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/describe-contents.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/describe-contents.html new file mode 100644 index 00000000..375eb2ce --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/describe-contents.html @@ -0,0 +1,76 @@ + + + + + describeContents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

describeContents

+
+
open override fun describeContents(): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/edge.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/edge.html new file mode 100644 index 00000000..b85f3366 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/edge.html @@ -0,0 +1,76 @@ + + + + + edge + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

edge

+
+

The specific alignment to a given edge that overrides the keyline alignment. See Edge Default: Edge.MIN_MAX

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/fraction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/fraction.html new file mode 100644 index 00000000..a7105385 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/fraction.html @@ -0,0 +1,76 @@ + + + + + fraction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fraction

+
+

The keyline position for the alignment. Default: 0.5f (center)

Set isFractionEnabled to false in case you want to disable this

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/index.html new file mode 100644 index 00000000..3a765f08 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/index.html @@ -0,0 +1,247 @@ + + + + + ParentAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ParentAlignment

+
data class ParentAlignment(val edge: ParentAlignment.Edge = Edge.MIN_MAX, val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val preferKeylineOverEdge: Boolean = edge == MAX) : Parcelable

Alignment configuration for aligning views in relation to the RecyclerView bounds

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parcel: Parcel)
constructor(edge: ParentAlignment.Edge = Edge.MIN_MAX, offset: Int = ViewAlignment.DEFAULT_OFFSET, fraction: Float = ViewAlignment.DEFAULT_FRACTION, isFractionEnabled: Boolean = true, preferKeylineOverEdge: Boolean = edge == MAX)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Overrides the keyline alignment and instead aligns to a certain edge.

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

The specific alignment to a given edge that overrides the keyline alignment. See Edge Default: Edge.MIN_MAX

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The keyline position for the alignment. Default: 0.5f (center)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

true if fraction should be used to position the item.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val offset: Int

The distance added to the fraction of the RecyclerView in pixels.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

When Edge.MAX or Edge.MIN are used, this flag decides if the Views should be aligned to the keyline when there are few items, overriding the edge preference.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun describeContents(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeToParcel(parcel: Parcel, flags: Int)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/is-fraction-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/is-fraction-enabled.html new file mode 100644 index 00000000..72ef9f2f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/is-fraction-enabled.html @@ -0,0 +1,76 @@ + + + + + isFractionEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFractionEnabled

+
+

true if fraction should be used to position the item.

If false, only offset will be used for the keyline position

Default is true.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/offset.html new file mode 100644 index 00000000..40589343 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/offset.html @@ -0,0 +1,76 @@ + + + + + offset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offset

+
+
val offset: Int

The distance added to the fraction of the RecyclerView in pixels.

E.g fraction = 0.5f, offset = 100, RecyclerView's height = 500

Keyline position = 500 * 0.5f + 100 = 350

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/prefer-keyline-over-edge.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/prefer-keyline-over-edge.html new file mode 100644 index 00000000..a6e2f5fd --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/prefer-keyline-over-edge.html @@ -0,0 +1,76 @@ + + + + + preferKeylineOverEdge + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

preferKeylineOverEdge

+
+

When Edge.MAX or Edge.MIN are used, this flag decides if the Views should be aligned to the keyline when there are few items, overriding the edge preference.

Default is: True for Edge.MAX, which means we prefer aligning to the keyline False for Edge.MIN, which means we prefer aligning to the min edge.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/write-to-parcel.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/write-to-parcel.html new file mode 100644 index 00000000..08f2adc9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-parent-alignment/write-to-parcel.html @@ -0,0 +1,76 @@ + + + + + writeToParcel + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeToParcel

+
+
open override fun writeToParcel(parcel: Parcel, flags: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/create-from-parcel.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/create-from-parcel.html new file mode 100644 index 00000000..b3bbf8f0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/create-from-parcel.html @@ -0,0 +1,76 @@ + + + + + createFromParcel + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

createFromParcel

+
+
open override fun createFromParcel(parcel: Parcel): SubPositionAlignment
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/index.html new file mode 100644 index 00000000..a4b91800 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/index.html @@ -0,0 +1,115 @@ + + + + + CREATOR + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + +
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createFromParcel(parcel: Parcel): SubPositionAlignment
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun newArray(size: Int): Array<SubPositionAlignment?>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/new-array.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/new-array.html new file mode 100644 index 00000000..3e3f2913 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-c-r-e-a-t-o-r/new-array.html @@ -0,0 +1,76 @@ + + + + + newArray + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

newArray

+
+
open override fun newArray(size: Int): Array<SubPositionAlignment?>
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-sub-position-alignment.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-sub-position-alignment.html new file mode 100644 index 00000000..17bd5af1 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/-sub-position-alignment.html @@ -0,0 +1,76 @@ + + + + + SubPositionAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SubPositionAlignment

+
+
constructor(parcel: Parcel)
constructor(offset: Int = ViewAlignment.DEFAULT_OFFSET, fraction: Float = ViewAlignment.DEFAULT_FRACTION, isFractionEnabled: Boolean = true, includePadding: Boolean = false, alignToBaseline: Boolean = false, alignmentViewId: Int = View.NO_ID, focusViewId: Int = View.NO_ID)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/align-to-baseline.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/align-to-baseline.html new file mode 100644 index 00000000..2f579c76 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/align-to-baseline.html @@ -0,0 +1,76 @@ + + + + + alignToBaseline + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

alignToBaseline

+
+
open override val alignToBaseline: Boolean = false

When true, aligns to View.getBaseline for the view used for the alignment

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/alignment-view-id.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/alignment-view-id.html new file mode 100644 index 00000000..f014ad77 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/alignment-view-id.html @@ -0,0 +1,76 @@ + + + + + alignmentViewId + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

alignmentViewId

+
+

The id of the child view that should be used for the alignment. If it is View.NO_ID, then the root view will be used instead. This is not necessarily the same view that will receive focus.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/describe-contents.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/describe-contents.html new file mode 100644 index 00000000..f1559c18 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/describe-contents.html @@ -0,0 +1,76 @@ + + + + + describeContents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

describeContents

+
+
open override fun describeContents(): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/fraction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/fraction.html new file mode 100644 index 00000000..7910c823 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/fraction.html @@ -0,0 +1,76 @@ + + + + + fraction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fraction

+
+
open override val fraction: Float

The keyline position for the alignment. Default: 0.5f (center)

Set isFractionEnabled to false in case you want to disable this

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/get-focus-view-id.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/get-focus-view-id.html new file mode 100644 index 00000000..a643334d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/get-focus-view-id.html @@ -0,0 +1,76 @@ + + + + + getFocusViewId + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getFocusViewId

+
+ +
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/include-padding.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/include-padding.html new file mode 100644 index 00000000..3812f562 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/include-padding.html @@ -0,0 +1,76 @@ + + + + + includePadding + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

includePadding

+
+
open override val includePadding: Boolean = false

True if padding should be included for the alignment. Includes start/top padding if fraction is 0f. Includes end/bottom padding if fraction is 1f. If fraction is not 0f or 1f, padding isn't included

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/index.html new file mode 100644 index 00000000..e26ded6f --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/index.html @@ -0,0 +1,262 @@ + + + + + SubPositionAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SubPositionAlignment

+
data class SubPositionAlignment(val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val includePadding: Boolean = false, val alignToBaseline: Boolean = false, val alignmentViewId: Int = View.NO_ID, focusViewId: Int = View.NO_ID) : ViewAlignment, Parcelable

Alignment configuration specific to a certain sub position.

This will override the default alignment set from ChildAlignment.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parcel: Parcel)
constructor(offset: Int = ViewAlignment.DEFAULT_OFFSET, fraction: Float = ViewAlignment.DEFAULT_FRACTION, isFractionEnabled: Boolean = true, includePadding: Boolean = false, alignToBaseline: Boolean = false, alignmentViewId: Int = View.NO_ID, focusViewId: Int = View.NO_ID)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

The id of the child view that should be used for the alignment. If it is View.NO_ID, then the root view will be used instead. This is not necessarily the same view that will receive focus.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val alignToBaseline: Boolean = false

When true, aligns to View.getBaseline for the view used for the alignment

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val fraction: Float

The keyline position for the alignment. Default: 0.5f (center)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val includePadding: Boolean = false

True if padding should be included for the alignment. Includes start/top padding if fraction is 0f. Includes end/bottom padding if fraction is 1f. If fraction is not 0f or 1f, padding isn't included

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val isFractionEnabled: Boolean = true

When enabled, fraction will be used for the alignment. Otherwise, only offset will be used.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val offset: Int

The distance to the fraction of the view in pixels.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun describeContents(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeToParcel(parcel: Parcel, flags: Int)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/is-fraction-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/is-fraction-enabled.html new file mode 100644 index 00000000..ab578d3d --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/is-fraction-enabled.html @@ -0,0 +1,76 @@ + + + + + isFractionEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFractionEnabled

+
+
open override val isFractionEnabled: Boolean = true

When enabled, fraction will be used for the alignment. Otherwise, only offset will be used.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/offset.html new file mode 100644 index 00000000..2b31f417 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/offset.html @@ -0,0 +1,76 @@ + + + + + offset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offset

+
+
open override val offset: Int

The distance to the fraction of the view in pixels.

E.g fraction = 0.5f, offset = 100, View's height = 500

Keyline position = 500 * 0.5f + 100 = 350

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/write-to-parcel.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/write-to-parcel.html new file mode 100644 index 00000000..61fbe9f6 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-sub-position-alignment/write-to-parcel.html @@ -0,0 +1,76 @@ + + + + + writeToParcel + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeToParcel

+
+
open override fun writeToParcel(parcel: Parcel, flags: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/-unbound-view-pool.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/-unbound-view-pool.html new file mode 100644 index 00000000..a986c54e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/-unbound-view-pool.html @@ -0,0 +1,76 @@ + + + + + UnboundViewPool + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

UnboundViewPool

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/clear.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/clear.html new file mode 100644 index 00000000..f8ad99b0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clear

+
+
open override fun clear()
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/get-recycled-view-count.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/get-recycled-view-count.html new file mode 100644 index 00000000..9213644a --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/get-recycled-view-count.html @@ -0,0 +1,76 @@ + + + + + getRecycledViewCount + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getRecycledViewCount

+
+
open override fun getRecycledViewCount(viewType: Int): Int
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/get-recycled-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/get-recycled-view.html new file mode 100644 index 00000000..425f2be0 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/get-recycled-view.html @@ -0,0 +1,76 @@ + + + + + getRecycledView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getRecycledView

+
+
open override fun getRecycledView(viewType: Int): RecyclerView.ViewHolder?
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/index.html new file mode 100644 index 00000000..01042d89 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/index.html @@ -0,0 +1,179 @@ + + + + + UnboundViewPool + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

UnboundViewPool

+

A RecyclerView.RecycledViewPool that does not limit the number of ViewHolders recycled.

This is meant to be shared across different RecyclerView to minimise ViewHolder inflation time and memory consumption, since RecyclerView will only create and bind the absolute minimum number of ViewHolders it really needs.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun clear()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getRecycledView(viewType: Int): RecyclerView.ViewHolder?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getRecycledViewCount(viewType: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun putRecycledView(viewHolder: RecyclerView.ViewHolder)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setMaxRecycledViews(viewType: Int, max: Int)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/put-recycled-view.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/put-recycled-view.html new file mode 100644 index 00000000..a3fd2067 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/put-recycled-view.html @@ -0,0 +1,76 @@ + + + + + putRecycledView + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

putRecycledView

+
+
open override fun putRecycledView(viewHolder: RecyclerView.ViewHolder)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/set-max-recycled-views.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/set-max-recycled-views.html new file mode 100644 index 00000000..aa1d8d45 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-unbound-view-pool/set-max-recycled-views.html @@ -0,0 +1,76 @@ + + + + + setMaxRecycledViews + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setMaxRecycledViews

+
+
open override fun setMaxRecycledViews(viewType: Int, max: Int)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/-d-e-f-a-u-l-t_-f-r-a-c-t-i-o-n.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/-d-e-f-a-u-l-t_-f-r-a-c-t-i-o-n.html new file mode 100644 index 00000000..c8c94804 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/-d-e-f-a-u-l-t_-f-r-a-c-t-i-o-n.html @@ -0,0 +1,76 @@ + + + + + DEFAULT_FRACTION + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DEFAULT_FRACTION

+
+
const val DEFAULT_FRACTION: Float = 0.5f

See fraction

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/-d-e-f-a-u-l-t_-o-f-f-s-e-t.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/-d-e-f-a-u-l-t_-o-f-f-s-e-t.html new file mode 100644 index 00000000..2e6cf427 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/-d-e-f-a-u-l-t_-o-f-f-s-e-t.html @@ -0,0 +1,76 @@ + + + + + DEFAULT_OFFSET + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DEFAULT_OFFSET

+
+
const val DEFAULT_OFFSET: Int = 0

See offset

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/index.html new file mode 100644 index 00000000..2a0b8e02 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/-companion/index.html @@ -0,0 +1,115 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val DEFAULT_FRACTION: Float = 0.5f
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val DEFAULT_OFFSET: Int = 0

See offset

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/align-to-baseline.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/align-to-baseline.html new file mode 100644 index 00000000..6fefe38e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/align-to-baseline.html @@ -0,0 +1,76 @@ + + + + + alignToBaseline + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

alignToBaseline

+
+
abstract val alignToBaseline: Boolean

When true, aligns to View.getBaseline for the view used for the alignment

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/fraction.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/fraction.html new file mode 100644 index 00000000..12bdb443 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/fraction.html @@ -0,0 +1,76 @@ + + + + + fraction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fraction

+
+
abstract val fraction: Float

The keyline position for the alignment. Default: 0.5f (center)

Set isFractionEnabled to false in case you want to disable this

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/include-padding.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/include-padding.html new file mode 100644 index 00000000..4cd70312 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/include-padding.html @@ -0,0 +1,76 @@ + + + + + includePadding + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

includePadding

+
+
abstract val includePadding: Boolean

True if padding should be included for the alignment. Includes start/top padding if fraction is 0f. Includes end/bottom padding if fraction is 1f. If fraction is not 0f or 1f, padding isn't included

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/index.html new file mode 100644 index 00000000..cb512f0e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/index.html @@ -0,0 +1,179 @@ + + + + + ViewAlignment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ViewAlignment

+ +
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val alignToBaseline: Boolean

When true, aligns to View.getBaseline for the view used for the alignment

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val fraction: Float

The keyline position for the alignment. Default: 0.5f (center)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val includePadding: Boolean

True if padding should be included for the alignment. Includes start/top padding if fraction is 0f. Includes end/bottom padding if fraction is 1f. If fraction is not 0f or 1f, padding isn't included

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

When enabled, fraction will be used for the alignment. Otherwise, only offset will be used.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val offset: Int

The distance to the fraction of the view in pixels.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/is-fraction-enabled.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/is-fraction-enabled.html new file mode 100644 index 00000000..d8c495e3 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/is-fraction-enabled.html @@ -0,0 +1,76 @@ + + + + + isFractionEnabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isFractionEnabled

+
+

When enabled, fraction will be used for the alignment. Otherwise, only offset will be used.

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/offset.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/offset.html new file mode 100644 index 00000000..e134eab9 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-alignment/offset.html @@ -0,0 +1,76 @@ + + + + + offset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

offset

+
+
abstract val offset: Int

The distance to the fraction of the view in pixels.

E.g fraction = 0.5f, offset = 100, View's height = 500

Keyline position = 500 * 0.5f + 100 = 350

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/-view-holder-task.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/-view-holder-task.html new file mode 100644 index 00000000..74c456c5 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/-view-holder-task.html @@ -0,0 +1,76 @@ + + + + + ViewHolderTask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ViewHolderTask

+
+
constructor(executeWhenAligned: Boolean = false)

Parameters

executeWhenAligned

if this task should only be executed when a ViewHolder is aligned to its final position, or false if it should be executed immediately after the selection

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/execute-when-aligned.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/execute-when-aligned.html new file mode 100644 index 00000000..60870bcf --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/execute-when-aligned.html @@ -0,0 +1,76 @@ + + + + + executeWhenAligned + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

executeWhenAligned

+
+

Parameters

executeWhenAligned

if this task should only be executed when a ViewHolder is aligned to its final position, or false if it should be executed immediately after the selection

+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/execute.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/execute.html new file mode 100644 index 00000000..1574eb9e --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/execute.html @@ -0,0 +1,76 @@ + + + + + execute + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

execute

+
+
abstract fun execute(viewHolder: RecyclerView.ViewHolder)
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/index.html new file mode 100644 index 00000000..ae96bd36 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/-view-holder-task/index.html @@ -0,0 +1,138 @@ + + + + + ViewHolderTask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ViewHolderTask

+
abstract class ViewHolderTask(val executeWhenAligned: Boolean = false)

Task that's scheduled and executed when a ViewHolder is selected

Parameters

executeWhenAligned

if this task should only be executed when a ViewHolder is aligned to its final position, or false if it should be executed immediately after the selection

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(executeWhenAligned: Boolean = false)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun execute(viewHolder: RecyclerView.ViewHolder)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/index.html b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/index.html new file mode 100644 index 00000000..075a7172 --- /dev/null +++ b/api/dpadrecyclerview/com.rubensousa.dpadrecyclerview/index.html @@ -0,0 +1,358 @@ + + + + + com.rubensousa.dpadrecyclerview + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ChildAlignment(val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val includePadding: Boolean = false, val alignToBaseline: Boolean = false) : ViewAlignment, Parcelable

Alignment configuration for aligning views in relation to its dimensions

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class DpadDragHelper<T>(adapter: DpadDragHelper.DragAdapter<T>, callback: DpadDragHelper.DragCallback, cancelKeyCodes: Set<Int> = setOf( + KeyEvent.KEYCODE_DPAD_CENTER, + KeyEvent.KEYCODE_ENTER, + KeyEvent.KEYCODE_BACK + ))

A helper class for re-ordering the contents of a DpadRecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Defines how items are looped around in DpadRecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class DpadRecyclerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.dpadRecyclerViewStyle) : RecyclerView

A RecyclerView that scrolls to items on DPAD key events.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class DpadScroller(calculator: DpadScroller.ScrollDistanceCalculator = DefaultScrollDistanceCalculator())

A helper class that allows scrolling a DpadRecyclerView based on specific scroll distances, ignoring the default alignment behavior.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A SnapHelper that scrolls Views to their alignment configuration and performs selections automatically. Use this only if you need to support touch event handling, as DpadRecyclerView by default does not handle selection on touch events.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class DpadSpanSizeLookup

A helper class to provide the number of spans each item occupies.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface DpadViewHolder

A ViewHolder managed by DpadRecyclerView.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Overrides the default mechanism for laying out extra views at the borders of the RecyclerView. Check LinearLayoutManager.calculateExtraLayoutSpace for more details.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Listener for receiving layout events of children of this RecyclerView

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Callback for receiving a notification when a View of a RecyclerView.ViewHolder has been focused.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Callback for receiving a notification when a ViewHolder has been selected. There are two methods:

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ParentAlignment(val edge: ParentAlignment.Edge = Edge.MIN_MAX, val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val preferKeylineOverEdge: Boolean = edge == MAX) : Parcelable

Alignment configuration for aligning views in relation to the RecyclerView bounds

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class SubPositionAlignment(val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val includePadding: Boolean = false, val alignToBaseline: Boolean = false, val alignmentViewId: Int = View.NO_ID, focusViewId: Int = View.NO_ID) : ViewAlignment, Parcelable

Alignment configuration specific to a certain sub position.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A RecyclerView.RecycledViewPool that does not limit the number of ViewHolders recycled.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface ViewAlignment
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class ViewHolderTask(val executeWhenAligned: Boolean = false)

Task that's scheduled and executed when a ViewHolder is selected

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/index.html b/api/dpadrecyclerview/index.html new file mode 100644 index 00000000..14383c26 --- /dev/null +++ b/api/dpadrecyclerview/index.html @@ -0,0 +1,167 @@ + + + + + dpadrecyclerview + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dpadrecyclerview

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/dpadrecyclerview/navigation.html b/api/dpadrecyclerview/navigation.html new file mode 100644 index 00000000..1cd820d5 --- /dev/null +++ b/api/dpadrecyclerview/navigation.html @@ -0,0 +1,422 @@ +
+
+ +
+ +
+ +
+
+ CREATOR +
+
+
+
+ +
+ +
+
+ +
+
+
+ +
+
+ NONE +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+ + + + +
+ +
+ +
+ +
+
+ STANDARD +
+
+
+
+ CIRCULAR +
+
+
+ +
+
+ + + +
+ +
+
+ CREATOR +
+
+
+
+ Edge +
+
+
+ NONE +
+
+
+
+ MIN +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+
+
+ +
+
+ CREATOR +
+
+
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ + + + +
+
+ + +
+
+ + + + + + +
+
diff --git a/api/images/anchor-copy-button.svg b/api/images/anchor-copy-button.svg new file mode 100644 index 00000000..19c1fa3f --- /dev/null +++ b/api/images/anchor-copy-button.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/api/images/arrow_down.svg b/api/images/arrow_down.svg new file mode 100644 index 00000000..639aaf12 --- /dev/null +++ b/api/images/arrow_down.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/burger.svg b/api/images/burger.svg new file mode 100644 index 00000000..fcca732b --- /dev/null +++ b/api/images/burger.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/api/images/copy-icon.svg b/api/images/copy-icon.svg new file mode 100644 index 00000000..2cb02ec6 --- /dev/null +++ b/api/images/copy-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/copy-successful-icon.svg b/api/images/copy-successful-icon.svg new file mode 100644 index 00000000..c4b95383 --- /dev/null +++ b/api/images/copy-successful-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/footer-go-to-link.svg b/api/images/footer-go-to-link.svg new file mode 100644 index 00000000..a87add7a --- /dev/null +++ b/api/images/footer-go-to-link.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/go-to-top-icon.svg b/api/images/go-to-top-icon.svg new file mode 100644 index 00000000..abc3d1ce --- /dev/null +++ b/api/images/go-to-top-icon.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/api/images/homepage.svg b/api/images/homepage.svg new file mode 100644 index 00000000..e3c83b1c --- /dev/null +++ b/api/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/api/images/logo-icon.svg b/api/images/logo-icon.svg new file mode 100644 index 00000000..e42f9570 --- /dev/null +++ b/api/images/logo-icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/api/images/nav-icons/abstract-class-kotlin.svg b/api/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 00000000..19d6148c --- /dev/null +++ b/api/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/images/nav-icons/abstract-class.svg b/api/images/nav-icons/abstract-class.svg new file mode 100644 index 00000000..60182030 --- /dev/null +++ b/api/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/api/images/nav-icons/annotation-kotlin.svg b/api/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 00000000..b90f508c --- /dev/null +++ b/api/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/annotation.svg b/api/images/nav-icons/annotation.svg new file mode 100644 index 00000000..b80c54b4 --- /dev/null +++ b/api/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/class-kotlin.svg b/api/images/nav-icons/class-kotlin.svg new file mode 100644 index 00000000..797a2423 --- /dev/null +++ b/api/images/nav-icons/class-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/class.svg b/api/images/nav-icons/class.svg new file mode 100644 index 00000000..3f1ad167 --- /dev/null +++ b/api/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/enum-kotlin.svg b/api/images/nav-icons/enum-kotlin.svg new file mode 100644 index 00000000..775a7cc9 --- /dev/null +++ b/api/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/enum.svg b/api/images/nav-icons/enum.svg new file mode 100644 index 00000000..fa7f2476 --- /dev/null +++ b/api/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/exception-class.svg b/api/images/nav-icons/exception-class.svg new file mode 100644 index 00000000..c0b2bdeb --- /dev/null +++ b/api/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/field-value.svg b/api/images/nav-icons/field-value.svg new file mode 100644 index 00000000..2771ee56 --- /dev/null +++ b/api/images/nav-icons/field-value.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/api/images/nav-icons/field-variable.svg b/api/images/nav-icons/field-variable.svg new file mode 100644 index 00000000..e2d2bbd0 --- /dev/null +++ b/api/images/nav-icons/field-variable.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/api/images/nav-icons/function.svg b/api/images/nav-icons/function.svg new file mode 100644 index 00000000..f0da64a0 --- /dev/null +++ b/api/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/interface-kotlin.svg b/api/images/nav-icons/interface-kotlin.svg new file mode 100644 index 00000000..5e163260 --- /dev/null +++ b/api/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/interface.svg b/api/images/nav-icons/interface.svg new file mode 100644 index 00000000..32063ba2 --- /dev/null +++ b/api/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/object.svg b/api/images/nav-icons/object.svg new file mode 100644 index 00000000..31f0ee3e --- /dev/null +++ b/api/images/nav-icons/object.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/typealias-kotlin.svg b/api/images/nav-icons/typealias-kotlin.svg new file mode 100644 index 00000000..f4bb238b --- /dev/null +++ b/api/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/theme-toggle.svg b/api/images/theme-toggle.svg new file mode 100644 index 00000000..df86202b --- /dev/null +++ b/api/images/theme-toggle.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/index.html b/api/index.html new file mode 100644 index 00000000..bb00db90 --- /dev/null +++ b/api/index.html @@ -0,0 +1,109 @@ + + + + + All modules + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

All modules:

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/api/navigation.html b/api/navigation.html new file mode 100644 index 00000000..9856d108 --- /dev/null +++ b/api/navigation.html @@ -0,0 +1,422 @@ +
+
+ +
+ +
+ +
+
+ CREATOR +
+
+
+
+ +
+ +
+
+ +
+
+
+ +
+
+ NONE +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+ + + + +
+ +
+ +
+ +
+
+ STANDARD +
+
+
+
+ CIRCULAR +
+
+
+ +
+
+ + + +
+ +
+
+ CREATOR +
+
+
+
+ Edge +
+
+
+ NONE +
+
+
+
+ MIN +
+
+
+
+ MAX +
+
+
+
+ MIN_MAX +
+
+
+
+
+ +
+
+ CREATOR +
+
+
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ + + + +
+
+ + +
+
+ + + + + + +
+
diff --git a/api/package-list b/api/package-list new file mode 100644 index 00000000..d4a97ae9 --- /dev/null +++ b/api/package-list @@ -0,0 +1,17 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html + +module:dpadrecyclerview +com.rubensousa.dpadrecyclerview +com.rubensousa.dpadrecyclerview.layoutmanager +com.rubensousa.dpadrecyclerview.layoutmanager.layout +com.rubensousa.dpadrecyclerview.spacing +com.rubensousa.dpadrecyclerview.state +module:dpadrecyclerview-compose +com.rubensousa.dpadrecyclerview.compose +module:dpadrecyclerview-testing +com.rubensousa.dpadrecyclerview.testing +com.rubensousa.dpadrecyclerview.testing.actions +com.rubensousa.dpadrecyclerview.testing.assertions +com.rubensousa.dpadrecyclerview.testing.matchers +com.rubensousa.dpadrecyclerview.testing.rules diff --git a/api/scripts/clipboard.js b/api/scripts/clipboard.js new file mode 100644 index 00000000..7a4f33c5 --- /dev/null +++ b/api/scripts/clipboard.js @@ -0,0 +1,56 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +window.addEventListener('load', () => { + document.querySelectorAll('span.copy-icon').forEach(element => { + element.addEventListener('click', (el) => copyElementsContentToClipboard(element)); + }) + + document.querySelectorAll('span.anchor-icon').forEach(element => { + element.addEventListener('click', (el) => { + if(element.hasAttribute('pointing-to')){ + const location = hrefWithoutCurrentlyUsedAnchor() + '#' + element.getAttribute('pointing-to') + copyTextToClipboard(element, location) + } + }); + }) +}) + +const copyElementsContentToClipboard = (element) => { + const selection = window.getSelection(); + const range = document.createRange(); + range.selectNodeContents(element.parentNode.parentNode); + selection.removeAllRanges(); + selection.addRange(range); + + copyAndShowPopup(element, () => selection.removeAllRanges()) +} + +const copyTextToClipboard = (element, text) => { + var textarea = document.createElement("textarea"); + textarea.textContent = text; + textarea.style.position = "fixed"; + document.body.appendChild(textarea); + textarea.select(); + + copyAndShowPopup(element, () => document.body.removeChild(textarea)) +} + +const copyAndShowPopup = (element, after) => { + try { + document.execCommand('copy'); + element.nextElementSibling.classList.add('active-popup'); + setTimeout(() => { + element.nextElementSibling.classList.remove('active-popup'); + }, 1200); + } catch (e) { + console.error('Failed to write to clipboard:', e) + } + finally { + if(after) after() + } +} + +const hrefWithoutCurrentlyUsedAnchor = () => window.location.href.split('#')[0] + diff --git a/api/scripts/main.js b/api/scripts/main.js new file mode 100644 index 00000000..ba6c3473 --- /dev/null +++ b/api/scripts/main.js @@ -0,0 +1,44 @@ +(()=>{var e={8527:e=>{e.exports=''},5570:e=>{e.exports=''},107:e=>{e.exports=''},7224:e=>{e.exports=''},538:e=>{e.exports=''},1924:(e,n,t)=>{"use strict";var r=t(210),o=t(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&i(e,".prototype.")>-1?o(t):t}},5559:(e,n,t)=>{"use strict";var r=t(8612),o=t(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var n=l(r,a,arguments);if(c&&u){var t=c(n,"length");t.configurable&&u(n,"length",{value:1+s(0,e.length-(arguments.length-1))})}return n};var f=function(){return l(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,n)=>{var t; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{"use strict";e.exports=function(e,n){var t=this,r=t.constructor;return t.options=Object.assign({storeInstancesGlobally:!0},n||{}),t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer=null,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),t.options.storeInstancesGlobally&&r.instances.push(t),t},e.exports.prototype.bind=t(2207),e.exports.prototype.bindMultiple=t(3396),e.exports.prototype.unbind=t(9208),e.exports.prototype.trigger=t(9855),e.exports.prototype.reset=t(6214),e.exports.prototype.stopCallback=t(3450),e.exports.prototype.handleKey=t(3067),e.exports.prototype.addEvents=t(718),e.exports.prototype.bindSingle=t(8763),e.exports.prototype.getKeyInfo=t(5825),e.exports.prototype.pickBestAction=t(8608),e.exports.prototype.getReverseMap=t(3956),e.exports.prototype.getMatches=t(3373),e.exports.prototype.resetSequences=t(3346),e.exports.prototype.fireCallback=t(2684),e.exports.prototype.bindSequence=t(7103),e.exports.prototype.resetSequenceTimer=t(7309),e.exports.prototype.detach=t(7554),e.exports.instances=[],e.exports.reset=t(1822),e.exports.REVERSE_MAP=null},718:(e,n,t)=>{"use strict";e.exports=function(){var e=this,n=t(4323),r=e.element;e.eventHandler=t(9646).bind(e),n(r,"keypress",e.eventHandler),n(r,"keydown",e.eventHandler),n(r,"keyup",e.eventHandler)}},2207:e=>{"use strict";e.exports=function(e,n,t){return e=e instanceof Array?e:[e],this.bindMultiple(e,n,t),this}},3396:e=>{"use strict";e.exports=function(e,n,t){for(var r=0;r{"use strict";e.exports=function(e,n,r,o){var i=this;function a(n){return function(){i.nextExpectedAction=n,++i.sequenceLevels[e],i.resetSequenceTimer()}}function l(n){var a;i.fireCallback(r,n,e),"keyup"!==o&&(a=t(6770),i.ignoreNextKeyup=a(n)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var c=0;c{"use strict";e.exports=function(e,n,t,r,o){var i=this;i.directMap[e+":"+t]=n;var a,l=(e=e.replace(/\s+/g," ")).split(" ");l.length>1?i.bindSequence(e,l,n,t):(a=i.getKeyInfo(e,t),i.callbacks[a.key]=i.callbacks[a.key]||[],i.getMatches(a.key,a.modifiers,{type:a.action},r,e,o),i.callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:e}))}},7554:(e,n,t)=>{var r=t(4323).off;e.exports=function(){var e=this,n=e.element;r(n,"keypress",e.eventHandler),r(n,"keydown",e.eventHandler),r(n,"keyup",e.eventHandler)}},4323:e=>{function n(e,n,t,r){return!e.addEventListener&&(n="on"+n),(e.addEventListener||e.attachEvent).call(e,n,t,r),t}e.exports=n,e.exports.on=n,e.exports.off=function(e,n,t,r){return!e.removeEventListener&&(n="on"+n),(e.removeEventListener||e.detachEvent).call(e,n,t,r),t}},2684:(e,n,t)=>{"use strict";e.exports=function(e,n,r,o){this.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(t(1350)(n),t(6103)(n))}},5825:(e,n,t)=>{"use strict";e.exports=function(e,n){var r,o,i,a,l,c,u=[];for(r=t(4520)(e),a=t(7549),l=t(5355),c=t(8581),i=0;i{"use strict";e.exports=function(e,n,r,o,i,a){var l,c,u,s,f=this,p=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(f.callbacks["any-character"]||[]).forEach((function(e){p.push(e)}));if(!f.callbacks[e])return p;for(u=t(8581),"keyup"===d&&u(e)&&(n=[e]),l=0;l{"use strict";e.exports=function(){var e,n=this.constructor;if(!n.REVERSE_MAP)for(var r in n.REVERSE_MAP={},e=t(4766))r>95&&r<112||e.hasOwnProperty(r)&&(n.REVERSE_MAP[e[r]]=r);return n.REVERSE_MAP}},3067:(e,n,t)=>{"use strict";e.exports=function(e,n,r){var o,i,a,l,c=this,u={},s=0,f=!1;for(o=c.getMatches(e,n,r),i=0;i{"use strict";e.exports=function(e){var n,r=this;"number"!=typeof e.which&&(e.which=e.keyCode);var o=t(6770)(e);void 0!==o&&("keyup"!==e.type||r.ignoreNextKeyup!==o?(n=t(4610),r.handleKey(o,n(e),e)):r.ignoreNextKeyup=!1)}},5532:e=>{"use strict";e.exports=function(e,n){return e.sort().join(",")===n.sort().join(",")}},8608:e=>{"use strict";e.exports=function(e,n,t){return t||(t=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===t&&n.length&&(t="keydown"),t}},6214:e=>{"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},7309:e=>{"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},3346:e=>{"use strict";e.exports=function(e){var n=this;e=e||{};var t,r=!1;for(t in n.sequenceLevels)e[t]?r=!0:n.sequenceLevels[t]=0;r||(n.nextExpectedAction=!1)}},3450:e=>{"use strict";e.exports=function(e,n){if((" "+n.className+" ").indexOf(" combokeys ")>-1)return!1;var t=n.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||n.isContentEditable}},9855:e=>{"use strict";e.exports=function(e,n){return this.directMap[e+":"+n]&&this.directMap[e+":"+n]({},e),this}},9208:e=>{"use strict";e.exports=function(e,n){return this.bind(e,(function(){}),n)}},1822:e=>{"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},6770:(e,n,t)=>{"use strict";e.exports=function(e){var n,r;if(n=t(4766),r=t(5295),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==n[e.which]?n[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},4610:e=>{"use strict";e.exports=function(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}},8581:e=>{"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},4520:e=>{"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},1350:e=>{"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},5355:e=>{"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},7549:e=>{"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},5295:e=>{"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},4766:e=>{"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var n=1;n<20;++n)e.exports[111+n]="f"+n;for(n=0;n<=9;++n)e.exports[n+96]=n},6103:e=>{"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},3362:()=>{var e;!function(){var e=Math.PI,n=2*e,t=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var n=e.stops;this.stops=(n||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var t=0;t0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,n){if(void 0===e.pos){for(var t=n+1;this[t];t++)if(void 0!==this[t].pos){e.pos=this[n-1].pos+(this[t].pos-this[n-1].pos)/(t-n+1);break}}else n>0&&(e.pos=Math.max(e.pos,this[n-1].pos))}),this.stops),this.repeating){var l=(n=this.stops.slice())[n.length-1].pos-n[0].pos;for(t=0;this.stops[this.stops.length-1].pos<1&&t<1e4;t++)for(var c=0;c'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,n,r,o=this.context,i=this.r,a=this.size/2,l=0,c=this.stops[l];o.translate(this.size/2,this.size/2),o.rotate(-90*t),o.rotate(this.from*t),o.translate(-this.size/2,-this.size/2);for(var u=0;u<360;){if(u/360+1e-5>=c.pos){do{e=c,l++,c=this.stops[l]}while(c&&c!=e&&c.pos===e.pos);if(!c)break;var s=e.color+""==c.color+""&&e!=c;n=e.color.map((function(e,n){return c.color[n]-e}))}r=(u/360-e.pos)/(c.pos-e.pos);var f=s?c.color:n.map((function(n,t){var o=n*r+e.color[t];return t<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),s)var p=360*(c.pos-e.pos);else p=.5;var d=u*t,h=(d=Math.min(360*t,d))+p*t;h=Math.min(360*t,h+.02),o.arc(a,a,i,d,h),o.closePath(),o.fill(),u+=p}}},o.ColorStop=function(e,t){if(this.gradient=e,t){var r=t.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/n)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var n=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return n&&(n.shift(),(n=n.map((function(e){return+e})))[3]=isNaN(n[3])?1:n[3]),n||[0,0,0,0]}return e}}(),self.StyleFix&&((e=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",e.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",e.style.backgroundImage||StyleFix.register((function(e,n){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,n){return new ConicGradient({stops:n,repeating:e.indexOf("repeating-")>-1})}))),e})))},9662:(e,n,t)=>{var r=t(7854),o=t(614),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,n,t)=>{var r=t(7854),o=t(4411),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,n,t)=>{var r=t(7854),o=t(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,n,t)=>{var r=t(5112),o=t(30),i=t(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},1530:(e,n,t)=>{"use strict";var r=t(8710).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},5787:(e,n,t)=>{var r=t(7854),o=t(7976),i=r.TypeError;e.exports=function(e,n){if(o(n,e))return e;throw i("Incorrect invocation")}},9670:(e,n,t)=>{var r=t(7854),o=t(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,n,t)=>{var r=t(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,n,t)=>{"use strict";var r=t(2092).forEach,o=t(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:(e,n,t)=>{"use strict";var r=t(7854),o=t(9974),i=t(6916),a=t(7908),l=t(3411),c=t(7659),u=t(4411),s=t(6244),f=t(6135),p=t(8554),d=t(1246),h=r.Array;e.exports=function(e){var n=a(e),t=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,r>2?arguments[2]:void 0));var A,b,m,y,E,_,C=d(n),w=0;if(!C||this==h&&c(C))for(A=s(n),b=t?new this(A):h(A);A>w;w++)_=v?g(n[w],w):n[w],f(b,w,_);else for(E=(y=p(n,C)).next,b=t?new this:[];!(m=i(E,y)).done;w++)_=v?l(y,g,[m.value,w],!0):m.value,f(b,w,_);return b.length=w,b}},1318:(e,n,t)=>{var r=t(5656),o=t(1400),i=t(6244),a=function(e){return function(n,t,a){var l,c=r(n),u=i(c),s=o(a,u);if(e&&t!=t){for(;u>s;)if((l=c[s++])!=l)return!0}else for(;u>s;s++)if((e||s in c)&&c[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,n,t)=>{var r=t(9974),o=t(1702),i=t(8361),a=t(7908),l=t(6244),c=t(5417),u=o([].push),s=function(e){var n=1==e,t=2==e,o=3==e,s=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,v,A){for(var b,m,y=a(h),E=i(y),_=r(g,v),C=l(E),w=0,x=A||c,k=n?x(h,C):t||p?x(h,0):void 0;C>w;w++)if((d||w in E)&&(m=_(b=E[w],w,y),e))if(n)k[w]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:u(k,b)}else switch(e){case 4:return!1;case 7:u(k,b)}return f?-1:o||s?s:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(e,n,t)=>{var r=t(7293),o=t(5112),i=t(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},9341:(e,n,t)=>{"use strict";var r=t(7293);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){throw 1},1)}))}},3671:(e,n,t)=>{var r=t(7854),o=t(9662),i=t(7908),a=t(8361),l=t(6244),c=r.TypeError,u=function(e){return function(n,t,r,u){o(t);var s=i(n),f=a(s),p=l(s),d=e?p-1:0,h=e?-1:1;if(r<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw c("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=t(u,f[d],d,s));return u}};e.exports={left:u(!1),right:u(!0)}},206:(e,n,t)=>{var r=t(1702);e.exports=r([].slice)},4362:(e,n,t)=>{var r=t(206),o=Math.floor,i=function(e,n){var t=e.length,c=o(t/2);return t<8?a(e,n):l(e,i(r(e,0,c),n),i(r(e,c),n),n)},a=function(e,n){for(var t,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=t)}return e},l=function(e,n,t,r){for(var o=n.length,i=t.length,a=0,l=0;a{var r=t(7854),o=t(3157),i=t(4411),a=t(111),l=t(5112)("species"),c=r.Array;e.exports=function(e){var n;return o(e)&&(n=e.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[l]))&&(n=void 0)),void 0===n?c:n}},5417:(e,n,t)=>{var r=t(7475);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},3411:(e,n,t)=>{var r=t(9670),o=t(9212);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},7072:(e,n,t)=>{var r=t(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4326:(e,n,t)=>{var r=t(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,n,t)=>{var r=t(7854),o=t(1694),i=t(614),a=t(4326),l=t(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=c(e),l))?t:u?a(n):"Object"==(r=a(n))&&i(n.callee)?"Arguments":r}},5631:(e,n,t)=>{"use strict";var r=t(3070).f,o=t(30),i=t(2248),a=t(9974),l=t(5787),c=t(408),u=t(654),s=t(6340),f=t(9781),p=t(2423).fastKey,d=t(9909),h=d.set,g=d.getterFor;e.exports={getConstructor:function(e,n,t,u){var s=e((function(e,r){l(e,d),h(e,{type:n,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:t})})),d=s.prototype,v=g(n),A=function(e,n,t){var r,o,i=v(e),a=b(e,n);return a?a.value=t:(i.last=a={index:o=p(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,n){var t,r=v(e),o=p(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key==n)return t};return i(d,{clear:function(){for(var e=v(this),n=e.index,t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete n[t.index],t=t.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var n=this,t=v(n),r=b(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first==r&&(t.first=o),t.last==r&&(t.last=i),f?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!b(this,e)}}),i(d,t?{get:function(e){var n=b(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,n,t){var r=n+" Iterator",o=g(n),i=g(r);u(e,n,(function(e,n){h(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?"keys"==n?{value:t.key,done:!1}:"values"==n?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),s(n)}}},9320:(e,n,t)=>{"use strict";var r=t(1702),o=t(2248),i=t(2423).getWeakData,a=t(9670),l=t(111),c=t(5787),u=t(408),s=t(2092),f=t(2597),p=t(9909),d=p.set,h=p.getterFor,g=s.find,v=s.findIndex,A=r([].splice),b=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,n){return g(e.entries,(function(e){return e[0]===n}))};y.prototype={get:function(e){var n=E(this,e);if(n)return n[1]},has:function(e){return!!E(this,e)},set:function(e,n){var t=E(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=v(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var s=e((function(e,o){c(e,p),d(e,{type:n,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:t})})),p=s.prototype,g=h(n),v=function(e,n,t){var r=g(e),o=i(a(n),!0);return!0===o?m(r).set(n,t):o[r.id]=t,e};return o(p,{delete:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).delete(e):t&&f(t,n.id)&&delete t[n.id]},has:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).has(e):t&&f(t,n.id)}}),o(p,t?{get:function(e){var n=g(this);if(l(e)){var t=i(e);return!0===t?m(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return v(this,e,n)}}:{add:function(e){return v(this,e,!0)}}),s}}},7710:(e,n,t)=>{"use strict";var r=t(2109),o=t(7854),i=t(1702),a=t(4705),l=t(1320),c=t(2423),u=t(408),s=t(5787),f=t(614),p=t(111),d=t(7293),h=t(7072),g=t(8003),v=t(9587);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),m=A?"set":"add",y=o[e],E=y&&y.prototype,_=y,C={},w=function(e){var n=i(E[e]);l(E,e,"add"==e?function(e){return n(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:n(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(y)||!(b||E.forEach&&!d((function(){(new y).entries().next()})))))_=t.getConstructor(n,e,A,m),c.enable();else if(a(e,!0)){var x=new _,k=x[m](b?{}:-0,1)!=x,S=d((function(){x.has(1)})),O=h((function(e){new y(e)})),B=!b&&d((function(){for(var e=new y,n=5;n--;)e[m](n,n);return!e.has(-0)}));O||((_=n((function(e,n){s(e,E);var t=v(new y,e,_);return null!=n&&u(n,t[m],{that:t,AS_ENTRIES:A}),t}))).prototype=E,E.constructor=_),(S||B)&&(w("delete"),w("has"),A&&w("get")),(B||k)&&w(m),b&&E.clear&&delete E.clear}return C[e]=_,r({global:!0,forced:_!=y},C),g(_,e),b||t.setStrong(_,e,A),_}},9920:(e,n,t)=>{var r=t(2597),o=t(3887),i=t(1236),a=t(3070);e.exports=function(e,n){for(var t=o(n),l=a.f,c=i.f,u=0;u{var r=t(5112)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},8544:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:(e,n,t)=>{var r=t(1702),o=t(4488),i=t(1340),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},4994:(e,n,t)=>{"use strict";var r=t(3383).IteratorPrototype,o=t(30),i=t(9114),a=t(8003),l=t(7497),c=function(){return this};e.exports=function(e,n,t){var u=n+" Iterator";return e.prototype=o(r,{next:i(1,t)}),a(e,u,!1,!0),l[u]=c,e}},8880:(e,n,t)=>{var r=t(9781),o=t(3070),i=t(9114);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},9114:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},6135:(e,n,t)=>{"use strict";var r=t(4948),o=t(3070),i=t(9114);e.exports=function(e,n,t){var a=r(n);a in e?o.f(e,a,i(0,t)):e[a]=t}},8709:(e,n,t)=>{"use strict";var r=t(7854),o=t(9670),i=t(2140),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},654:(e,n,t)=>{"use strict";var r=t(2109),o=t(6916),i=t(1913),a=t(6530),l=t(614),c=t(4994),u=t(9518),s=t(7674),f=t(8003),p=t(8880),d=t(1320),h=t(5112),g=t(7497),v=t(3383),A=a.PROPER,b=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",C="values",w="entries",x=function(){return this};e.exports=function(e,n,t,a,h,v,k){c(t,n,a);var S,O,B,I=function(e){if(e===h&&R)return R;if(!y&&e in j)return j[e];switch(e){case _:case C:case w:return function(){return new t(this,e)}}return function(){return new t(this)}},T=n+" Iterator",P=!1,j=e.prototype,z=j[E]||j["@@iterator"]||h&&j[h],R=!y&&z||I(h),M="Array"==n&&j.entries||z;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(i||u(S)===m||(s?s(S,m):l(S[E])||d(S,E,x)),f(S,T,!0,!0),i&&(g[T]=x)),A&&h==C&&z&&z.name!==C&&(!i&&b?p(j,"name",C):(P=!0,R=function(){return o(z,this)})),h)if(O={values:I(C),keys:v?R:I(_),entries:I(w)},k)for(B in O)(y||P||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||P},O);return i&&!k||j[E]===R||d(j,E,R,{name:h}),g[n]=R,O}},7235:(e,n,t)=>{var r=t(857),o=t(2597),i=t(6061),a=t(3070).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},9781:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,n,t)=>{var r=t(7854),o=t(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,n,t)=>{var r=t(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,n,t)=>{var r=t(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},256:(e,n,t)=>{var r=t(8113);e.exports=/MSIE|Trident/.test(r)},5268:(e,n,t)=>{var r=t(4326),o=t(7854);e.exports="process"==r(o.process)},8113:(e,n,t)=>{var r=t(5005);e.exports=r("navigator","userAgent")||""},7392:(e,n,t)=>{var r,o,i=t(7854),a=t(8113),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,n,t)=>{var r=t(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,n,t)=>{var r=t(7854),o=t(1236).f,i=t(8880),a=t(1320),l=t(3505),c=t(9920),u=t(4705);e.exports=function(e,n){var t,s,f,p,d,h=e.target,g=e.global,v=e.stat;if(t=g?r:v?r[h]||l(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],f=e.noTargetGet?(d=o(t,s))&&d.value:t[s],!u(g?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,n,t)=>{"use strict";t(4916);var r=t(1702),o=t(1320),i=t(2261),a=t(7293),l=t(5112),c=t(8880),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!=""[e](n)})),h=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!h||t){var g=r(/./[p]),v=n(p,""[e],(function(e,n,t,o,a){var l=r(e),c=n.exec;return c===i||c===s.exec?d&&!a?{done:!0,value:g(n,t,o)}:{done:!0,value:l(t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},6677:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var n=Function.prototype,t=n.apply,r=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(t):function(){return o.apply(t,arguments)})},9974:(e,n,t)=>{var r=t(1702),o=t(9662),i=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?i(e,n):function(){return e.apply(n,arguments)}}},7065:(e,n,t)=>{"use strict";var r=t(7854),o=t(1702),i=t(9662),a=t(111),l=t(2597),c=t(206),u=r.Function,s=o([].concat),f=o([].join),p={},d=function(e,n,t){if(!l(p,n)){for(var r=[],o=0;o{var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:(e,n,t)=>{var r=t(9781),o=t(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},1702:e=>{var n=Function.prototype,t=n.bind,r=n.call,o=t&&t.bind(r);e.exports=t?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,n,t)=>{var r=t(7854),o=t(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?i(r[e]):r[e]&&r[e][n]}},1246:(e,n,t)=>{var r=t(648),o=t(8173),i=t(7497),a=t(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,n,t)=>{var r=t(7854),o=t(6916),i=t(9662),a=t(9670),l=t(6330),c=t(1246),u=r.TypeError;e.exports=function(e,n){var t=arguments.length<2?c(e):n;if(i(t))return a(o(t,e));throw u(l(e)+" is not iterable")}},8173:(e,n,t)=>{var r=t(9662);e.exports=function(e,n){var t=e[n];return null==t?void 0:r(t)}},647:(e,n,t)=>{var r=t(1702),o=t(7908),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,h=r.length,g=s;return void 0!==f&&(f=o(f),g=u),l(p,g,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},7854:(e,n,t)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:(e,n,t)=>{var r=t(1702),o=t(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},3501:e=>{e.exports={}},490:(e,n,t)=>{var r=t(5005);e.exports=r("document","documentElement")},4664:(e,n,t)=>{var r=t(9781),o=t(7293),i=t(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,n,t)=>{var r=t(7854),o=t(1702),i=t(7293),a=t(4326),l=r.Object,c=o("".split);e.exports=i((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):l(e)}:l},9587:(e,n,t)=>{var r=t(614),o=t(111),i=t(7674);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},2788:(e,n,t)=>{var r=t(1702),o=t(614),i=t(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2423:(e,n,t)=>{var r=t(2109),o=t(1702),i=t(3501),a=t(111),l=t(2597),c=t(3070).f,u=t(8006),s=t(1156),f=t(2050),p=t(9711),d=t(6677),h=!1,g=p("meta"),v=0,A=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,n=o([].splice),t={};t[g]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{var r,o,i,a=t(8536),l=t(7854),c=t(1702),u=t(111),s=t(8880),f=t(2597),p=t(5465),d=t(6200),h=t(3501),g="Object already initialized",v=l.TypeError,A=l.WeakMap;if(a||p.state){var b=p.state||(p.state=new A),m=c(b.get),y=c(b.has),E=c(b.set);r=function(e,n){if(y(b,e))throw new v(g);return n.facade=e,E(b,e,n),n},o=function(e){return m(b,e)||{}},i=function(e){return y(b,e)}}else{var _=d("state");h[_]=!0,r=function(e,n){if(f(e,_))throw new v(g);return n.facade=e,s(e,_,n),n},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=o(n)).type!==e)throw v("Incompatible receiver, "+e+" required");return t}}}},7659:(e,n,t)=>{var r=t(5112),o=t(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,n,t)=>{var r=t(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,n,t)=>{var r=t(1702),o=t(7293),i=t(614),a=t(648),l=t(5005),c=t(2788),u=function(){},s=[],f=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,s,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(p,c(e))}:g},4705:(e,n,t)=>{var r=t(7293),o=t(614),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t==s||t!=u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},111:(e,n,t)=>{var r=t(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,n,t)=>{var r=t(111),o=t(4326),i=t(5112)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},2190:(e,n,t)=>{var r=t(7854),o=t(5005),i=t(614),a=t(7976),l=t(3307),c=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var n=o("Symbol");return i(n)&&a(n.prototype,c(e))}},408:(e,n,t)=>{var r=t(7854),o=t(9974),i=t(6916),a=t(9670),l=t(6330),c=t(7659),u=t(6244),s=t(7976),f=t(8554),p=t(1246),d=t(9212),h=r.TypeError,g=function(e,n){this.stopped=e,this.result=n},v=g.prototype;e.exports=function(e,n,t){var r,A,b,m,y,E,_,C=t&&t.that,w=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),S=o(n,C),O=function(e){return r&&d(r,"normal",e),new g(!0,e)},B=function(e){return w?(a(e),k?S(e[0],e[1],O):S(e[0],e[1])):k?S(e,O):S(e)};if(x)r=e;else{if(!(A=p(e)))throw h(l(e)+" is not iterable");if(c(A)){for(b=0,m=u(e);m>b;b++)if((y=B(e[b]))&&s(v,y))return y;return new g(!1)}r=f(e,A)}for(E=r.next;!(_=i(E,r)).done;){try{y=B(_.value)}catch(e){d(r,"throw",e)}if("object"==typeof y&&y&&s(v,y))return y}return new g(!1)}},9212:(e,n,t)=>{var r=t(6916),o=t(9670),i=t(8173);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3383:(e,n,t)=>{"use strict";var r,o,i,a=t(7293),l=t(614),c=t(30),u=t(9518),s=t(1320),f=t(5112),p=t(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=c(r)),l(r[d])||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,n,t)=>{var r=t(7466);e.exports=function(e){return r(e.length)}},133:(e,n,t)=>{var r=t(7392),o=t(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,n,t)=>{var r=t(7854),o=t(614),i=t(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,n,t)=>{var r=t(7854),o=t(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:(e,n,t)=>{"use strict";var r=t(9781),o=t(1702),i=t(6916),a=t(7293),l=t(1956),c=t(5181),u=t(5296),s=t(7908),f=t(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!=p({},e)[t]||l(p({},n)).join("")!=o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,v=f(arguments[a++]),A=p?h(l(v),p(v)):l(v),b=A.length,m=0;b>m;)g=A[m++],r&&!i(d,v,g)||(t[g]=v[g]);return t}:p},30:(e,n,t)=>{var r,o=t(9670),i=t(6048),a=t(748),l=t(3501),c=t(490),u=t(317),s=t(6200),f=s("IE_PROTO"),p=function(){},d=function(e){return" + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + + + + + +
+
+ + + + +

Changelog

+

Version 1.3.0

+

1.3.0-beta01

+

2024-06-17

+

Dependency updates

+
    +
  • Updated library to Kotlin 2.0
  • +
  • Updated Compose ui libraries to 1.7.0-beta03
  • +
+

New Features

+
    +
  • Added DpadDragHelper for drag and drop support (#216). Documentation available here.
  • +
  • Now recyclerView.setFocusableDirection(FocusableDirection.CIRCULAR) can also be used in linear layouts that don't fill the entire space. (#225
  • +
+

Improvements

+
    +
  • Now focusOutFront and focusOutBack are enabled by default due to feedback from library users (#223)
  • +
  • Improved focus behavior for grids with uneven spans that have incomplete rows (#224)
  • +
+

1.3.0-alpha04

+

2024-06-04

+

New Features

+
    +
  • Added DpadSelectionSnapHelper to improve selection on touch events. (#215)
  • +
  • Added isFocusable to DpadComposeFocusViewHolder to allow disabling focus for some items.
  • +
+

Bug fixes

+
    +
  • Fixed initial selection being always at position 0, even when that view is not focusable.
  • +
  • Fixed some rows not receiving focus in grids using DpadSpanSizeLookup. (#217)
  • +
  • Fixed fast scrolling not working correctly in some grids using DpadSpanSizeLookup. (#218)
  • +
+

1.3.0-alpha03

+

2024-05-31

+

New Features

+
    +
  • Added DpadStateRegistry that assists in saving and restoring the scroll state or view state of ViewHolders (#45)
  • +
+

Improvements

+
    +
  • Disable layout passes during scroll events by default. This is an attempt to fix (#207) + To fallback to the previous behavior, please use setLayoutWhileScrollingEnabled(true)
  • +
+

Bug fixes

+
    +
  • Fixed issue with grid layouts with different spans after item removals. (#210)
  • +
  • Fixed DpadRecyclerView losing focus in some cases when adapter contents are updated during scroll events. (#206)
  • +
+

1.3.0-alpha02

+

2024-03-23

+

Bug fixes

+
    +
  • Fixed grids not aligning to the keyline for the last row in some cases. (#203)
  • +
+

1.3.0-alpha01

+

2024-03-17

+

New Features

+
    +
  • Added DpadComposeFocusViewHolder that allows sending the focus state down to Composables (#193)
  • +
  • Added Modifier.dpadClickable for playing the click sound after clicking on a Composable. Fix for: (/b/268268856)
  • +
  • Allow skipping layout requests during scroll with setLayoutWhileScrollingEnabled(false) (#196)
  • +
  • New addOnViewFocusedListener to observe focus changes independently from selection changes. (#197)
  • +
+

API Changes

+
    +
  • DpadAbstractComposeViewHolder is now removed. Replace it with either DpadComposeFocusViewHolder or DpadComposeViewHolder.
  • +
+

Version 1.2.0

+

1.2.0

+

2024-03-13

+
    +
  • No changes since 1.2.0-rc01
  • +
+

Important changes since 1.1.0

+
    +
  • Added new RecyclerViewCompositionStrategy.DisposeOnRecycled for compose interop + to re-use compositions when views are detached and attached from the window again.
  • +
  • Added new setSelectedSubPosition that allows passing a callback for the target alignment (#43)
  • +
  • Added support for scrollbars
  • +
  • Added DpadScroller for scrolling without any alignment. Typical use case is for long text displays (terms & conditions and consent pages).
  • +
+

1.2.0-rc01

+

2024-02-03

+

Bug fixes

+
    +
  • Fixed focus being sent to the wrong item when scrolling with touch events before pressing a key (#188)
  • +
+

1.2.0-beta02

+

2024-01-28

+

New Features

+
    +
  • Added new RecyclerViewCompositionStrategy.DisposeOnRecycled for compose interop +to re-use compositions when views are detached and attached from the window again.
  • +
+

Bug fixes

+
    +
  • Fixed views not being laid out correctly sometimes when setRecycleChildrenOnDetach is used.
  • +
+

1.2.0-beta01

+

2024-01-17

+

New Features

+
    +
  • Added new setSelectedSubPosition that allows passing a callback for the target alignment (#43)
  • +
+

Bug fixes

+
    +
  • Fixed navigation sound not being played when searching for pivot (#167)
  • +
  • Fixed sub selection not being dispatched when used multiple times in a row
  • +
+

1.2.0-alpha03

+

2024-01-10

+

Bug fixes

+
    +
  • Fixed crash when requesting layout after a selection to an index out of bounds (#178)
  • +
+

1.2.0-alpha02

+

2023-12-27

+

Bug fixes

+
    +
  • Fixed layout jumping to the top when the user scrolls with touch events (#171)
  • +
  • Fixed alignment configuration not being respected for small lists (#172)
  • +
+

1.2.0-alpha01

+

2023-11-25

+

New Features

+
    +
  • Added support for scrollbars
  • +
  • Added DpadScroller for scrolling without any alignment. Typical use case is for long text displays (terms & conditions and consent pages).
  • +
+

Version 1.1.0

+

1.1.0

+

2023-11-12

+
    +
  • No changes since 1.1.0-rc01
  • +
+

1.1.0-rc01

+

2023-10-18

+

Dependency updates

+
    +
  • Updated androidx.recyclerview to version 1.3.2 to fix sporadic crashes during animations: (/9e69afd)
  • +
  • Updated androidx.collection to stable version 1.3.0
  • +
+

1.1.0-beta02

+

2023-09-15

+

Bug fixes

+
    +
  • Fixed wrong scrolling behavior when the app:spanCount attribute is used for grids (#162)
  • +
+

1.1.0-beta01

+

2023-09-10

+

Bug fixes

+
    +
  • Fixed wrong scrolling behavior when the layout isn't completely filled and Edge.MAX alignment is used: (#160)
  • +
  • Fixed XML attribute app:dpadRecyclerViewParentAlignmentPreferKeylineOverEdge not being applied correctly
  • +
+

1.1.0-alpha03

+

2023-08-04

+

Bug fixes

+
    +
  • Fixed grid layout not placing views in the correct spans when scrolling in opposite direction: (#156)
  • +
+

1.1.0-alpha02

+

2023-06-23

+

Bug fixes

+
    +
  • Fixed crash when updating adapter contents too frequently: (#153)
  • +
+

1.1.0-alpha01

+

2023-06-08

+

New Features

+
    +
  • Added support for endless scrolling with looping adapter contents: (#20). + Check this for more information.
  • +
+

Version 1.0.0

+

1.0.0

+

2023-05-16

+

New Features

+
    +
  • Added support for API 19 (#146)
  • +
  • Added missing XML attribute for parent alignment app:dpadRecyclerViewParentAlignmentPreferKeylineOverEdge (#145)
  • +
+

Bug fixes

+
    +
  • Fixed crash when R8 is applied (#122)
  • +
+

1.0.0-rc01

+

2023-05-07

+

Dependency updates

+
    +
  • Removed consumer proguard rules
  • +
  • Exposed recyclerview dependency to clients
  • +
+

1.0.0-beta03

+

2023-05-03

+

Dependency updates

+
    +
  • Updated compose-ui to version 1.4.2
  • +
+

New Features

+
    +
  • Added getSpanSizeLookup() to DpadRecyclerView
  • +
  • Added onViewHolderSelectedAndAligned to DpadViewHolder
  • +
+

Compose

+
    +
  • Added DpadAbstractComposeViewHolder to allow subclasses to get access to focus changes. Check Compose interoperability for more information.
  • +
+

Testing

+

See the documentation here

+
    +
  • Added KeyEvents.back() to easily press back key events
  • +
  • Added DpadRecyclerViewActions.scrollTo and DpadRecyclerViewActions.scrollToHolder to scroll to specific ViewHolders using KeyEvents.
  • +
  • Added DpadViewAssertions for asserting focus states:
      +
    • DpadViewAssertions.hasFocus()
    • +
    • DpadViewAssertions.doesNotHaveFocus()
    • +
    • DpadViewAssertions.isFocused()
    • +
    • DpadViewAssertions.isNotFocused()
    • +
    +
  • +
+

1.0.0-beta02

+

2023-04-18

+

Dependency updates

+
    +
  • Updated RecyclerView to stable version 1.3.0
  • +
+

New Features

+
    +
  • Added support for fading edges. Check this for more information. (#18).
  • +
+

Bug fixes

+
    +
  • Fixed DpadRecyclerView not measuring itself correctly when wrap_content is used. (#123)
  • +
  • Fixed max edge alignment not working correctly when scrolling back. (#124)
  • +
+

1.0.0-beta01

+

2023-04-02

+

Bug fixes

+
    +
  • Fixed crash in grid layout when pivot is updated during pagination. (#114)
  • +
+

1.0.0-alpha05

+

2023-02-21

+

New Features

+
    +
  • New dpadrecyclerview-compose module that contains DpadComposeViewHolder for Compose interoperability. Check Compose interoperability for more information.
  • +
  • Allow setting 0 max pending moves with setSmoothScrollMaxPendingMoves(0) to fully prevent unwanted scroll events.
  • +
+

API changes

+
    +
  • offsetRatio in ParentAlignment, ChildAlignment and SubPositionAlignment was renamed to fraction.
  • +
+

Bug fixes

+
    +
  • Fixed alignment issue when the first item has decoration (#91)
  • +
  • Fixed alignment issue when Edge.MIN is used and there's a small number of adapter items (#93)
  • +
  • Fixed focus changing to the incorrect span in a grid (#96)
  • +
  • Fixed focus being lost when scrolling a grid and triggering layout passes at the same time (#102)
  • +
  • Fixed DpadRecyclerView scrolling automatically to the current selected position when there's a touch event (#104)
  • +
  • Fixed pending alignments in opposite direction not being ignored (#106)
  • +
+

Testing

+
    +
  • New KeyEvents.click() to easily dispatch click events in UI tests
  • +
+

1.0.0-alpha04

+

2023-02-13

+

New Features

+
    +
  • Added DpadLinearSpacingItemDecoration and DpadGridSpacingItemDecoration to easily set spacing between items
  • +
  • Added setScrollEnabled to enable or disable scroll events
  • +
  • Added setLayoutEnabled to enable or disable the layout of children
  • +
  • Added support for reverse layout via setReverseLayout
  • +
  • Restored support for basic touch event scrolling without triggering selection or alignment changes
  • +
  • Added support for item prefetching for nested RecyclerViews
  • +
  • setSmoothScrollMaxPendingAlignments allows limiting the number of scroll changes still not applied
  • +
  • setSmoothScrollMaxPendingMoves allows remembering DPAD events not yet applied
  • +
  • Improved fast smooth scrolling in grids with different span sizes
  • +
  • Added setOnChildLaidOutListener to observe when each view is laid out
  • +
  • setFocusSearchEnabledDuringAnimations allows enabling or disabling focus changes during item animations.
  • +
+

API Changes

+
    +
  • ViewHolderAlignment was renamed to SubPositionAlignment. Now DpadViewHolder returns these alignments in getSubPositionAlignments.
  • +
+

Bug fixes

+
    +
  • Fixed DpadRecyclerView not searching for focus if it's currently retaining focus due to a pivot removal. This prevented accumulating pending moves during smooth scrolling.
  • +
  • A nested DpadRecyclerView now won't search for focus if its parent RecyclerView is still smooth scrolling (#50)
  • +
  • Alignment not being restored correctly for small lists (#71)
  • +
  • Unnecessary ItemAnimator animations were running when scrolling during item changes (#47)
  • +
  • a11y scroll actions were not triggering scroll events (#66)
  • +
  • Circular focus not working correctly for the first row (#37)
  • +
+

Testing

+
    +
  • DisableIdleTimeoutRule will now wait for idle input after the test is over to avoid dispatching key events to other tests
  • +
+

1.0.0-alpha03

+

2023-01-26

+

New Features

+
    +
  • Added support for findFirstVisibleItemPosition and findLastVisibleItemPosition (#23)
  • +
  • Added support for recycling children on detach (#17)
  • +
+

API Changes

+
    +
  • Replaced DpadLayoutManager with new PivotLayoutManager for proper customization of layout logic (#10), (#16)
  • +
+

1.0.0-alpha02

+

2022-12-10

+

API Changes

+
    +
  • Allow extending from DpadRecyclerView
  • +
  • Removed RecyclerView.canScrollHorizontally and RecyclerView.canScrollVertically since they're not used and clients can create them themselves
  • +
+

1.0.0-alpha01

+

2022-11-06

+
    +
  • Initial alpha release
  • +
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/compose/index.html b/compose/index.html new file mode 100644 index 00000000..4630641d --- /dev/null +++ b/compose/index.html @@ -0,0 +1,1021 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compose interoperability - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+ +
+ + + +
+
+ + + + +

Compose interoperability

+

The dpadrecyclerview-compose module contains the following:

+
    +
  • DpadComposeFocusViewHolder: ViewHolder that exposes a function to render a Composable and sends the focus directly to Composables.
  • +
  • DpadComposeViewHolder: ViewHolder that exposes a function to render a Composable but keeps the focus state in the View system
  • +
  • RecyclerViewCompositionStrategy.DisposeOnRecycled: a custom ViewCompositionStrategy that only disposes compositions when ViewHolders are recycled
  • +
+

Compose ViewHolder

+

Receive focus inside Composables

+

Use DpadComposeFocusViewHolder to let your Composables receive the focus state.

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
class ComposeItemAdapter(
+    private val onItemClick: (Int) -> Unit
+) : ListAdapter<Int, DpadComposeFocusViewHolder<Int>>(Item.DIFF_CALLBACK) {
+
+    override fun onCreateViewHolder(
+        parent: ViewGroup,
+        viewType: Int
+    ): DpadComposeFocusViewHolder<Int> {
+        return DpadComposeFocusViewHolder(parent) { item ->
+            ItemComposable(
+                item = item,
+                onClick = {
+                    onItemClick(item)
+                }
+            )
+        }
+    }
+
+    override fun onBindViewHolder(
+        holder: DpadComposeFocusViewHolder<Int>, 
+        position: Int
+    ) {
+        holder.setItemState(getItem(position))
+    }
+
+}
+
+

Then use the standard focus APIs to react to focus changes:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
@Composable
+fun ItemComposable(
+    item: Int, 
+    onClick: () -> Unit,
+    modifier: Modifier = Modifier,
+) {
+    var isFocused by remember { mutableStateOf(false) }
+    val backgroundColor = if (isFocused) Color.White else Color.Black
+    val textColor = if (isFocused) Color.Black else Color.White
+    Box(
+        modifier = modifier
+            .background(backgroundColor)
+            .onFocusChanged { focusState ->
+                isFocused = focusState.hasFocus
+            }
+            .focusable()
+            .dpadClickable {
+                onClick()
+            },
+        contentAlignment = Alignment.Center,
+    ) {
+        Text(
+            text = item.toString(),
+            color = textColor,
+            fontSize = 35.sp
+        )
+    }
+}
+
+

Keep focus inside the view system

+

If you want to keep the focus inside the View system, use DpadComposeViewHolder instead:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
class ComposeItemAdapter(
+    private val onItemClick: (Int) -> Unit
+) : ListAdapter<Int, DpadComposeViewHolder<Int>>(Item.DIFF_CALLBACK) {
+
+    override fun onCreateViewHolder(
+        parent: ViewGroup,
+        viewType: Int
+    ): DpadComposeViewHolder<Int> {
+        return DpadComposeViewHolder(
+            parent,
+            onClick = onItemClick
+        ) { item, isFocused ->
+            ItemComposable(item, isFocused)
+        }
+    }
+
+    override fun onBindViewHolder(
+        holder: DpadComposeViewHolder<Int>, 
+        position: Int
+    ) {
+        holder.setItemState(getItem(position))
+    }
+
+}
+
+

In this case, you receive the focus state as an input that you can pass to your Composables:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
@Composable
+fun ItemComposable(item: Int, isFocused: Boolean) {
+    val backgroundColor = if (isFocused) Color.White else Color.Black
+    val textColor = if (isFocused) Color.Black else Color.White
+    Box(
+        modifier = Modifier.background(backgroundColor),
+        contentAlignment = Alignment.Center,
+    ) {
+        Text(
+            text = item.toString(),
+            color = textColor,
+            fontSize = 35.sp
+        )
+    }
+}
+
+

Handle clicks with sound

+

Use Modifier.dpadClickable instead of Modifier.clickable because of this issue: +/b/268268856

+

Performance optimizations

+
    +
  • If you plan to use compose animations, check the performance during fast scrolling and consider throttling key events using the APIs explained here
  • +
  • Consider using dpadRecyclerView.setLayoutWhileScrollingEnabled(false) to discard layout requests during scroll events. +This will skip unnecessary layout requests triggered by some compose animations.
  • +
+

Check the sample on Github for more examples that include simple animations.

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/getting_started/index.html b/getting_started/index.html new file mode 100644 index 00000000..09822acb --- /dev/null +++ b/getting_started/index.html @@ -0,0 +1,966 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Getting Started - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Getting started

+

Add the following dependency to your app's build.gradle:

+
implementation "com.rubensousa.dpadrecyclerview:dpadrecyclerview:1.3.0-beta01"
+
+// Recommended: To use Compose together with DpadRecyclerView
+implementation "com.rubensousa.dpadrecyclerview:dpadrecyclerview-compose:1.3.0-beta01"
+
+// Optional: Espresso test helpers for your instrumented tests:
+androidTestImplementation "com.rubensousa.dpadrecyclerview:dpadrecyclerview-testing:1.3.0-beta01"
+
+

Basic setup

+

Since DpadRecyclerView is a custom view that extends from RecyclerView, you just need to add it to your XML layout as any other view:

+
1
+2
+3
+4
+5
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="vertical" />
+
+
+

Warning

+

Don't set a LayoutManager because DpadRecyclerView already assigns one internally.

+
+

Follow the official RecyclerView guides to render Views on the screen +or use any RecyclerView library as you would for mobile apps.

+

You can also render Composables inside using the dpadrecyclerview-compose library.

+

Observe selection changes

+

You can observe selection changes using the following:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
recyclerView.addOnViewHolderSelectedListener(object : OnViewHolderSelectedListener {
+    override fun onViewHolderSelected(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subPosition: Int
+    ) {}
+
+    override fun onViewHolderSelectedAndAligned(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subPosition: Int
+    ) {}
+})
+
+

Observe focus changes

+

To react to focus changes, use this:

+
1
+2
+3
+4
+5
+6
+7
+8
recyclerView.addOnViewFocusedListener(object : OnViewFocusedListener {
+    override fun onViewFocused(
+        parent: RecyclerView.ViewHolder,
+        child: View,
+    ) {
+        // Child is now focused
+    }
+})
+
+

How to use with Compose

+

Check this page to see more some examples with Compose

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
@Composable
+fun ItemComposable(
+    item: Int, 
+    onClick: () -> Unit,
+    modifier: Modifier = Modifier,
+) {
+    var isFocused by remember { mutableStateOf(false) }
+    val backgroundColor = if (isFocused) Color.White else Color.Black
+    val textColor = if (isFocused) Color.Black else Color.White
+    Box(
+        modifier = modifier
+            .background(backgroundColor)
+            .onFocusChanged { focusState ->
+                isFocused = focusState.hasFocus
+            }
+             .focusable()
+            .dpadClickable {
+                onClick()
+            },
+        contentAlignment = Alignment.Center,
+    ) {
+        Text(
+            text = item.toString(),
+            color = textColor,
+            fontSize = 35.sp
+        )
+    }
+}
+
+

More customizations

+

Check the following recipes:

+
    +
  1. Layout: for defining the type of layout (linear or grid) or to enable infinite carousels
  2. +
  3. Spacing: add spacing between items
  4. +
  5. Alignment: align items to different regions of the screen
  6. +
  7. Focus: configure how focus is handled
  8. +
  9. Scrolling: configure the scrolling speed
  10. +
+

Sample

+

The sample on Github contains a complete example of +how to use this library.

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/img/center_alignment.png b/img/center_alignment.png new file mode 100644 index 00000000..88de17b8 Binary files /dev/null and b/img/center_alignment.png differ diff --git a/img/circular_focus.png b/img/circular_focus.png new file mode 100644 index 00000000..b0da7fd8 Binary files /dev/null and b/img/circular_focus.png differ diff --git a/img/continuous_focus.png b/img/continuous_focus.png new file mode 100644 index 00000000..95d1fa19 Binary files /dev/null and b/img/continuous_focus.png differ diff --git a/img/max_pending_alignments.png b/img/max_pending_alignments.png new file mode 100644 index 00000000..2c3db22d Binary files /dev/null and b/img/max_pending_alignments.png differ diff --git a/img/start_alignment.png b/img/start_alignment.png new file mode 100644 index 00000000..153980e2 Binary files /dev/null and b/img/start_alignment.png differ diff --git a/img/start_alignment_padding.png b/img/start_alignment_padding.png new file mode 100644 index 00000000..5eacb072 Binary files /dev/null and b/img/start_alignment_padding.png differ diff --git a/img/subposition_alignment.png b/img/subposition_alignment.png new file mode 100644 index 00000000..0a41d5ac Binary files /dev/null and b/img/subposition_alignment.png differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..f98109d1 --- /dev/null +++ b/index.html @@ -0,0 +1,881 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

DpadRecyclerView

+

A RecyclerView built for Android TV as a replacement +for Leanback's BaseGridView.

+

Proceed to Getting started to start adding DpadRecyclerView +to your application.

+

Why should you use this library?

+
    +
  1. Leanback hasn't received any significant update for years
  2. +
  3. Compose support for TV is still in its early stages
  4. +
  5. RecyclerView is stable and works well with Compose
  6. +
  7. You need to maintain an existing TV app and wish to introduce Compose in an incremental way
  8. +
  9. Contains useful Espresso testing helpers for your TV UI tests
  10. +
  11. More feature complete:
  12. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeatureDpadRecyclerViewLeanbackCompose TV
Custom scrolling speeds
Edge alignment preference
Sub position selections
Fading edges
Alignment listener
Grids with uneven span sizes
Extra layout space
Prefetching upcoming items
Reverse layout
Testing library
Drag and Drop
Infinite layout with loop
Smooth alignment changes
Discrete scrolling for text pages
Child focus observer
Circular and continuous focus
Throttling scroll events
Scrolling without animation
Scrolling in secondary directory
+

Background story for this library is available in my blog in case you're interested.

+

License

+
Copyright 2024 Rúben Sousa
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/migrating_leanback/index.html b/migrating_leanback/index.html new file mode 100644 index 00000000..4e2ddf58 --- /dev/null +++ b/migrating_leanback/index.html @@ -0,0 +1,1111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Migrating from Leanback - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + + + + + +
+
+ + + + +

Migrating from Leanback

+

Interopability

+

DpadRecyclerView is also compatible with Leanback and can be used together in the same view hierarchy.

+

You can combine DpadRecyclerView with BaseGridView as follows:

+
    +
  1. +

    DpadRecyclerView as the parent RecyclerView and BaseGridView for the nested lists

    +
  2. +
  3. +

    BaseGridView as the parent RecyclerView and DpadRecyclerView for the nested lists

    +
  4. +
+

Themes

+

DpadRecyclerView does not require any theme like Theme.Leanback, so feel free to use any.

+

VerticalGridView and HorizontalGridView

+

Instead of using VerticalGridView or HorizontalGridView, use DpadRecyclerView and set the orientation either programmatically +with setOrientation or with plain XML:

+
1
+2
+3
+4
+5
<com.rubensousa.dpadrecyclerview.DpadRecyclerView 
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="vertical|horizontal" 
+
+

Window Alignment

+

The window alignment APIs from BaseGridView can now be found in the ParentAlignment class.

+
+
+
+
1
+2
+3
+4
+5
recyclerView.windowAlignment = BaseGridView.WINDOW_ALIGN_NO_EDGE
+recyclerView.windowAlignmentOffset = 0
+recyclerView.windowAlignmentOffsetPercent = 100f
+recyclerView.windowAlignmentPreferKeyLineOverLowEdge = false
+recyclerView.windowAlignmentPreferKeyLineOverHighEdge = false
+
+
+
+
1
+2
+3
+4
+5
+6
+7
+8
recyclerView.setParentAlignment(
+    ParentAlignment(
+        edge = ParentAlignment.Edge.NONE,
+        offset = 0,
+        fraction = 1f,
+        preferKeylineOverEdge = false
+    )
+)
+
+
+
+
+

Edge alignment mapping:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
BaseGridViewDpadRecyclerView
BaseGridView.WINDOW_ALIGN_NO_EDGEParentAlignment.Edge.NONE
BaseGridView.WINDOW_ALIGN_LOW_EDGEParentAlignment.Edge.MIN
BaseGridView.WINDOW_ALIGN_MAX_EDGEParentAlignment.Edge.MAX
BaseGridView.WINDOW_ALIGN_BOTH_EDGEParentAlignment.Edge.MIN_MAX
+

Item Alignment

+

The child alignment APIs from BaseGridView can now be found in the ChildAlignment class.

+
+
+
+
1
+2
+3
recyclerView.itemAlignmentOffset = 0
+recyclerView.itemAlignmentOffsetPercent = 100f
+recyclerView.isItemAlignmentOffsetWithPadding = true
+
+
+
+
1
+2
+3
+4
+5
+6
+7
recyclerView.setChildAlignment(
+    ChildAlignment(
+        offset = 0,
+        fraction = 1f,
+        includePadding = true
+    )
+)
+
+
+
+
+

Selection changes

+
+
+
+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
recyclerView.addOnChildViewHolderSelectedListener(object : OnChildViewHolderSelectedListener() {
+    override fun onChildViewHolderSelected(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subposition: Int
+    ) {}
+
+    override fun onChildViewHolderSelectedAndPositioned(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subposition: Int
+    ) {}
+})
+
+
+
+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
recyclerView.addOnViewHolderSelectedListener(object : OnViewHolderSelectedListener {
+    override fun onViewHolderSelected(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subPosition: Int
+    ) {}
+
+    override fun onViewHolderSelectedAndAligned(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subPosition: Int
+    ) {}
+})
+
+
+
+
+

ItemAlignmentFacet or FacetProviderAdapter

+

This was typically used for configuring sub position alignment. Check this page for more information about sub position alignment.

+

If you were using FacetProviderAdapter for anything else, just write your own logic in the RecyclerView.Adapter and expose those events to the ViewHolders directly

+

Item spacing

+

There's no public API for item spacings at the layout level for DpadRecyclerView like setItemSpacing from BaseGridView.

+

However, we can use the standard RecyclerView.ItemDecoration API for this.

+

DpadRecyclerView ships with DpadLinearSpacingDecoration and DpadGridSpacingDecoration to achieve the same effect.

+

Please check the examples in the recipes at Spacing.

+

Fading edges

+

Support for fading edges is enabled with the default XML attribute fadingEdgeLength.

+
1
+2
+3
+4
+5
+6
<com.rubensousa.dpadrecyclerview.DpadRecyclerView 
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:fadingEdgeLength="120dp"
+    android:orientation="vertical|horizontal" 
+
+

Alternatively, you can customise the fading edge with the following methods:

+
    +
  • setMinEdgeFadingLength
  • +
  • setMinEdgeFadingOffset
  • +
  • setMaxEdgeFadingLength
  • +
  • setMaxEdgeFadingOffset
  • +
  • setFadingEdgeLength
  • +
+

Presenters

+

These will still work out of the box with DpadRecyclerView since they're just a wrapper over RecyclerView.Adapter, + but feel free to use any other RecyclerView framework in case you want to get rid completely of the Leanback library.

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/recipes/alignment/index.html b/recipes/alignment/index.html new file mode 100644 index 00000000..1f5d805f --- /dev/null +++ b/recipes/alignment/index.html @@ -0,0 +1,993 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Alignment - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Alignment Recipes

+

Center alignment

+

Example of centering views in a vertical DpadRecyclerView:

+

Center alignment

+
+
+
+
1
+2
+3
+4
+5
+6
+7
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="vertical"
+    app:dpadRecyclerViewChildAlignmentFraction="0.5"
+    app:dpadRecyclerViewParentAlignmentFraction="0.5" />
+
+
+
+
1
+2
+3
+4
+5
+6
recyclerView.setParentAlignment(
+    ParentAlignment(fraction = 0.5f)
+)
+recyclerView.setChildAlignment(
+    ChildAlignment(fraction = 0.5f)
+)
+
+
+
+
+

Start alignment

+

Example of aligning views in a horizontal DpadRecyclerView:

+

Start alignment

+
+
+
+
1
+2
+3
+4
+5
+6
+7
+8
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="horizontal"
+    app:dpadRecyclerViewChildAlignmentFraction="0"
+    app:dpadRecyclerViewParentAlignmentOffset="24dp"
+    app:dpadRecyclerViewParentAlignmentFraction="0" />
+
+
+
+
1
+2
+3
+4
+5
+6
+7
+8
+9
recyclerView.setParentAlignment(
+    ParentAlignment(
+        fraction = 0f, 
+        offset = 24.dp.toPx()
+    )
+)
+recyclerView.setChildAlignment(
+    ChildAlignment(fraction = 0f)
+)
+
+
+
+
+

If you want all items to be aligned to the keyline, even the ones at the start or end of the list, +you need to set an edge preference of ParentAlignment.Edge.NONE

+
+
+
+
1
+2
+3
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
+    <!-- Other attributes -->
+    app:dpadRecyclerViewParentAlignmentEdge="none" />
+
+
+
+
1
+2
+3
+4
+5
+6
+7
recyclerView.setParentAlignment(
+    ParentAlignment(
+        fraction = 0f, 
+        offset = 24.dp.toPx()
+        edge = ParentAlignment.Edge.NONE
+    )
+)
+
+
+
+
+

Including padding in child alignment

+

Start alignment with padding

+

In case you want to include padding for the alignment position, set the includePadding to true:

+
recyclerView.setChildAlignment(
+    ChildAlignment(fraction = 0f, includePadding = true)
+)
+
+

Padding will only be considered in the same orientation of the DpadRecyclerView and when the ratio is either 0f or 1f:

+
    +
  • start/top padding for horizontal/vertical when fraction is 0f
  • +
  • end/bottom padding for horizontal/vertical when fraction is 1f
  • +
+

Sub position alignment

+

You can define custom sub positions for every ViewHolder to align its children differently. +Each sub position alignment is essentially an extension of ChildAlignment.

+

Sub position alignment

+

In this example, we have 3 sub position alignments:

+
    +
  1. Sub position 0 is aligned to the parent keyline
  2. +
  3. Sub position 1 is aligned to the half of the view at sub position 0
  4. +
  5. Sub position 2 is aligned to the top of the view at sub position 1
  6. +
+

To achieve this, make your RecyclerView.ViewHolder implement DpadViewHolder and return the configuration in getSubPositionAlignments:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
class ExampleViewHolder(
+    view: View
+) : RecyclerView.ViewHolder(view), DpadViewHolder {
+
+    private val alignments = ArrayList<SubPositionAlignment>()
+
+    init {
+        alignments.apply {
+            add(
+                SubPositionAlignment(
+                    fraction = 0f,
+                    alignmentViewId = R.id.firstView,
+                    focusViewId = R.id.firstView
+                )
+            )
+            add(
+                SubPositionAlignment(
+                    fraction = 0.5f,
+                    alignmentViewId = R.id.firstView,
+                    focusViewId = R.id.secondView
+                )
+            )
+            add(
+                SubPositionAlignment(
+                    fraction = 0f,
+                    alignmentViewId = R.id.secondView,
+                    focusViewId = R.id.thirdView
+                )
+            )
+        }
+    }
+
+    override fun getSubPositionAlignments(): List<SubPositionAlignment> {
+        return alignments
+    }
+
+}
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/recipes/dragdrop/index.html b/recipes/dragdrop/index.html new file mode 100644 index 00000000..e0f9b437 --- /dev/null +++ b/recipes/dragdrop/index.html @@ -0,0 +1,834 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Drag and drop - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Drag and Drop Recipe

+

Sometimes, users need to arrange the order of some collection. +The APIs mentioned here should assist you in developing such a feature.

+

Make your adapter mutable

+

DpadDragHelper requires a DpadDragHelper.DragAdapter<T> that exposes the mutable collection backing the adapter contents. +This allows DpadDragHelper to change the order of the elements for you automatically.

+

You just need to implement DpadDragHelper.DragAdapter<T> for this step:

+
1
+2
+3
+4
+5
+6
+7
+8
class ExampleAdapter(
+    private val adapterConfig: AdapterConfig
+) : RecyclerView.Adapter<RecyclerView.ViewHolder>(), 
+    DpadDragHelper.DragAdapter<Int> {
+
+    private val items = ArrayList<Int>()
+
+    override fun getMutableItems(): MutableList<Int> = items
+
+

Create a DpadDragHelper

+

Now that you have a DragAdapter setup, just create a DpadDragHelper like so:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
private val adapter = ExampleAdapter()
+private val dragHelper = DpadDragHelper(
+    adapter = dragAdapter,
+    callback = object : DpadDragHelper.DragCallback {
+        override fun onDragStarted(viewHolder: RecyclerView.ViewHolder) {
+            // ViewHolder is now being dragged
+        }
+        override fun onDragStopped() {
+            // Dragging was cancelled either by user or programmatically
+        }
+    }
+)
+
+

Then attach it to your DpadRecyclerView:

+
dragHelper.attachToRecyclerView(dpadRecyclerView)
+
+
+

Note

+

This only supports drag and drop for linear and grid layouts with the same number of spans.

+
+

Start and stop dragging

+

Now that DpadDragHelper is setup, you can start dragging by using:

+
dragHelper.startDrag(position = 0)
+
+

If the position passed in the method above is not currently selected, a selection will be triggered.

+

To cancel dragging for any reason, use:

+
dragHelper.stopDrag()
+
+
+

Note

+

Users can also stop dragging by pressing the following keys: KeyEvent.KEYCODE_DPAD_CENTER, +KeyEvent.KEYCODE_ENTER, KeyEvent.KEYCODE_BACK. These are customizable in the constructor of DpadDragHelper

+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/recipes/focus/index.html b/recipes/focus/index.html new file mode 100644 index 00000000..92601ab3 --- /dev/null +++ b/recipes/focus/index.html @@ -0,0 +1,905 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Focus - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+ +
+ + + +
+
+ + + + +

Focus Recipes

+

Observing child focus

+

Use this to react to a child getting focus:

+
1
+2
+3
+4
+5
+6
+7
+8
recyclerView.addOnViewFocusedListener(object : OnViewFocusedListener {
+    override fun onViewFocused(
+        parent: RecyclerView.ViewHolder,
+        child: View,
+    ) {
+        // Child is now focused
+    }
+})
+
+
+

Note

+

If you set this in a vertical RecyclerView that contains multiple horizontal RecyclerViews, the parent will also receive this callback

+
+

Disabling focus changes

+

You might want to temporarily disable focus changes and prevent other views from being selected +by the user:

+
recyclerView.setFocusSearchDisabled(true)
+
+

This will block focus requests coming from DPAD events.

+

Grid circular focus

+

Circular focus

+

Dispatches focus back to the opposite span when it is currently at an edge.

+
recyclerView.setFocusableDirection(FocusableDirection.CIRCULAR)
+
+

Grid continuous focus

+

Continuous focus

+

Dispatches focus to the next or previous positions.

+
recyclerView.setFocusableDirection(FocusableDirection.CONTINUOUS)
+
+

Preventing focus losses

+

You might want your DpadRecyclerView to keep focus if the user presses a DPAD event that would trigger a focus change +to an outside view. This typically happens when the selection is at the first or last item.

+

Main direction

+

To prevent focus leaving from the main direction of scrolling, use setFocusOutAllowed:

+
recyclerView.setFocusOutAllowed(throughFront = true, throughBack = false)
+
+

Let's assume this RecyclerView has vertical orientation. +The example above would allow focusing out when the first item is selected and KEYCODE_DPAD_UP is pressed, +but it would prevent focus from leaving when the last item is selected and KEYCODE_DPAD_DOWN is pressed.

+

Secondary direction

+

To prevent focus leaving from the secondary direction of scrolling, use setFocusOutSideAllowed:

+
recyclerView.setFocusOutSideAllowed(throughFront = true, throughBack = false)
+
+

Let's again assume this RecyclerView has vertical orientation. +The example above would allow focusing out when focus is at the first span and KEYCODE_DPAD_LEFT is pressed, +but it would prevent focus from leaving when the last span is selected and KEYCODE_DPAD_RIGHT is pressed.

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/recipes/layout/index.html b/recipes/layout/index.html new file mode 100644 index 00000000..6734b154 --- /dev/null +++ b/recipes/layout/index.html @@ -0,0 +1,987 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Layout - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Layout Recipes

+

Rows

+

A Row is simply a DpadRecyclerView with RecyclerView.HORIZONTAL as its orientation. +Do the following either in XML or Kotlin:

+
+
+
+
1
+2
+3
+4
+5
<com.rubensousa.dpadrecyclerview.DpadRecyclerView 
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:orientation="horizontal" />
+
+
+
+
recyclerView.setOrientation(RecyclerView.HORIZONTAL)
+
+
+
+
+
+

Note

+

To center views vertically inside a horizontal DpadRecyclerView, +you can use the gravity attribute like so:

+
1
+2
+3
+4
+5
+6
<com.rubensousa.dpadrecyclerview.DpadRecyclerView 
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="260dp"
+    android:orientation="horizontal"
+    android:gravity="center" />
+
+
+

Columns

+

A Column is simply a DpadRecyclerView with RecyclerView.VERTICAL as its orientation. +Do the following either in XML or Kotlin:

+
+
+
+
1
+2
+3
+4
+5
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="vertical" />
+
+
+
+
recyclerView.setOrientation(RecyclerView.VERTICAL)
+
+
+
+
+

Grids

+

The API is similar to the one of GridLayoutManager from androidx.recyclerview:

+
+
+
+
1
+2
+3
+4
+5
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
+    android:id="@+id/recyclerView"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    app:spanCount="5" />
+
+
+
+
recyclerView.setSpanCount(5)
+
+
+
+
+

Different span sizes

+

To customise the size of each span, use DpadSpanSizeLookup.

+

This example would create a full size header for the item at the first position:

+
1
+2
+3
+4
+5
+6
+7
+8
+9
recyclerView.setSpanSizeLookup(object : DpadSpanSizeLookup() {
+    override fun getSpanSize(position: Int): Int {
+        return if (position == 0) {
+            recyclerView.getSpanCount()
+        } else {
+            1
+        }
+    }
+})
+
+

Looping adapter contents

+

You can enable infinite scrolling by using setLoopDirection to loop the adapter contents:

+
1
+2
+3
+4
+5
// This will loop when scrolling towards both the start and end edges
+recyclerView.setLoopDirection(DpadLoopDirection.MIN_MAX)
+
+// This will loop only when scrolling towards the end
+recyclerView.setLoopDirection(DpadLoopDirection.MAX)
+
+
+

Note

+

Looping is only supported when there's enough items to fill the viewport

+
+

Extra layout space

+

DpadRecyclerView won't layout any extra space by default, however, +you might want to create extra views in case you're aligning items to an edge.

+

The example below would create half a page of extra items at the start of the layout:

+
1
+2
+3
+4
+5
recyclerView.setExtraLayoutSpaceStrategy(object : ExtraLayoutSpaceStrategy {
+    override fun calculateStartExtraLayoutSpace(state: RecyclerView.State): Int {
+        return recyclerView.width / 2
+    }
+})
+
+

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/recipes/scrolling/index.html b/recipes/scrolling/index.html new file mode 100644 index 00000000..f46bc605 --- /dev/null +++ b/recipes/scrolling/index.html @@ -0,0 +1,891 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Scrolling - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + + + + + +
+
+ + + + +

Scrolling Recipes

+

Scrolling to specific positions

+

To scroll to a specific position, use the selection methods from DpadRecyclerView:

+
    +
  • setSelectedPosition - to scroll immediately to a given position
  • +
  • setSelectedPositionSmooth - to smooth scroll to a given position
  • +
+

If you're interested in triggering a callback once the selection is applied, you can do the following:

+
1
+2
+3
+4
+5
recyclerView.setSelectedPosition(0, object : ViewHolderTask() {
+    override fun execute(viewHolder: RecyclerView.ViewHolder) {
+        // ViewHolder was selected and aligned to its final location
+    }
+})
+
+

Disabling smooth scrolling

+

DpadRecyclerView allows disabling smooth scrolling on focus changes with:

+
recyclerView.setSmoothFocusChangesEnabled(false)
+
+

This will make DpadRecyclerView scroll immediately without any animation to the new focused view.

+

Changing smooth scrolling behavior

+

The code below changes the default interpolator used for smooth scrolling to a linear interpolator:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
val linearInterpolator = LinearInterpolator()
+recyclerView.setSmoothScrollBehavior(
+    object : DpadRecyclerView.SmoothScrollByBehavior {
+        override fun configSmoothScrollByDuration(dx: Int, dy: Int): Int {
+            return RecyclerView.UNDEFINED_DURATION
+        }
+
+        override fun configSmoothScrollByInterpolator(dx: Int, dy: Int): Interpolator {
+            return linearInterpolator
+        }
+    }
+)
+
+

To slow down the smooth scrolling speed, check setSmoothScrollSpeedFactor:

+
recyclerView.setSmoothScrollSpeedFactor(2f)
+
+

The code above will make smooth scrolling twice slower.

+

Limiting number of pending alignments

+

Sometimes you might want to prevent the user from scrolling past too many items. +You can specify the number of max pending alignments with: setSmoothScrollMaxPendingAlignments:

+
recyclerView.setSmoothScrollMaxPendingAlignments(2)
+
+

The code above translates to this behavior:

+

Max pending alignments

+

In the right scenario, there's just one next focusable view since the focused view still isn't aligned to the keyline.

+

Enabling layout during scrolling events

+

If you want to enable layout changes while DpadRecyclerView is still scrolling, use:

+
recyclerView.setLayoutWhileScrollingEnabled(true)
+
+

Long text scrolling

+

In some cases, you might need to show pages with text that should be scrollable (e.g terms & conditions).

+

For this use case, you can use DpadScroller:

+
val scroller = DpadScroller()
+scroller.attach(dpadRecyclerView)
+
+

DpadScroller will scroll the page for you on key event presses without any alignment so that the user can read the entire content

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/recipes/spacing/index.html b/recipes/spacing/index.html new file mode 100644 index 00000000..f0c6081a --- /dev/null +++ b/recipes/spacing/index.html @@ -0,0 +1,1058 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Spacing - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Spacing Recipes

+

Unlike BaseGridView, DpadRecyclerView does not have a setItemSpacing method. +However, you can achieve the same effect with one of the implementations of ItemDecoration provided by this library:

+
    +
  • DpadLinearSpacingDecoration: for columns and rows
  • +
  • DpadGridSpacingDecoration: for grids
  • +
+

Both of them support vertical and horizontal orientations. Please check the examples below.

+

Linear spacings

+

Column

+

image

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadLinearSpacingDecoration.create(
+            itemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.vertical_item_spacing
+            ),
+            edgeSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.vertical_edge_spacing
+            ),
+            perpendicularEdgeSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.horizontal_edge_spacing
+            )
+        )
+    )
+}
+
+
+

Note

+
    +
  • If you don't specify a edgeSpacing, by default it will be the same as itemSpacing.
  • +
  • If you don't specify a perpendicularEdgeSpacing, by default it will be set to 0.
  • +
+
+

If you just need even spacings across all items in the layout direction, you can do the following:

+
1
+2
+3
+4
+5
+6
+7
+8
+9
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadLinearSpacingDecoration.create(
+            itemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.vertical_item_spacing
+            )
+        )
+    )
+}
+
+

Row

+

image

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadLinearSpacingDecoration.create(
+            itemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.horizontal_item_spacing
+            ),
+            edgeSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.horizontal_edge_spacing
+            ),
+            perpendicularEdgeSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.vertical_edge_spacing
+            )
+        )
+    )
+}
+
+
+

Note

+
    +
  • If you don't specify a edgeSpacing, by default it will be the same as itemSpacing.
  • +
  • If you don't specify a perpendicularEdgeSpacing, by default it will be set to 0.
  • +
+
+

If you just need even spacings across all items in the layout direction, you can do the following:

+
1
+2
+3
+4
+5
+6
+7
+8
+9
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadLinearSpacingDecoration.create(
+            itemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.vertical_item_spacing
+            )
+        )
+    )
+}
+
+

Grid spacings

+

Vertical

+

image

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadGridSpacingDecoration.createVertical(
+            itemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.grid_horizontal_item_spacing
+            ),
+            perpendicularItemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.grid_vertical_item_spacing
+            ),
+            edgeSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.grid_vertical_edge_spacing
+            )
+        )
+    )
+}
+
+
+

Note

+
    +
  • If you don't specify a edgeSpacing or perpendicularItemSpacing, by default both will be the same as itemSpacing.
  • +
+
+

If you just want to apply the same spacing to all sides, you can do the following:

+
1
+2
+3
+4
+5
+6
+7
+8
+9
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadGridSpacingDecoration.create(
+            itemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.grid_item_spacing
+            )
+        )
+    )
+}
+
+

Horizontal

+

image

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
fun setupSpacing(recyclerView: DpadRecyclerView) {
+    recyclerView.addItemDecoration(
+        DpadGridSpacingDecoration.createVertical(
+            horizontalItemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.grid_horizontal_item_spacing
+            ),
+            verticalItemSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.grid_horizontal_item_spacing
+            ),
+            verticalEdgeSpacing = recyclerView.resources.getDimensionPixelOffset(
+                R.dimen.horizontal_edge_spacing
+            )
+        )
+    )
+}
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/selection/index.html b/selection/index.html new file mode 100644 index 00000000..23f40a72 --- /dev/null +++ b/selection/index.html @@ -0,0 +1,827 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Focus and selection - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Focus and selection

+

It's important to distinguish between a selection event and a focus event.

+

You can change the selection state of a DpadRecyclerView while focus is in a completely separate view.

+

However, when focus changes to different ViewHolders inside DpadRecyclerView (due to DPAD navigation for example), this will automatically fire a selection event.

+

So, in short:

+
    +
  1. Selection changes can happen without focus requests
  2. +
  3. Focusing another view triggers a selection event
  4. +
+

Focus changes

+

To enable focus changes in your RecyclerView.ViewHolder, you need to set a child view as focusable. Otherwise, DpadRecyclerView won't find it +when the user presses the DPAD.

+

Do this either in XML or after onCreateViewHolder:

+
view.isFocusable = true
+view.isFocusableInTouchMode = true
+
+

To observe focus changes, simply use a OnFocusChangeListener:

+
1
+2
+3
+4
+5
+6
+7
view.setOnFocusChangeListener { _, hasFocus ->
+    if (hasFocus) {
+        // React to focus gain
+    } else {
+        // React to focus loss
+    }
+}
+
+

Selection changes

+

You can observe selection changes using the following:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
recyclerView.addOnViewHolderSelectedListener(object : OnViewHolderSelectedListener {
+    override fun onViewHolderSelected(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subPosition: Int
+    ) {}
+
+    override fun onViewHolderSelectedAndAligned(
+        parent: RecyclerView,
+        child: RecyclerView.ViewHolder?,
+        position: Int,
+        subPosition: Int
+    ) {}
+})
+
+

If your ViewHolder implements the interface DpadViewHolder you can also get these events automatically from these callbacks:

+
1
+2
+3
+4
+5
+6
+7
+8
+9
class ExampleViewHolder(
+    view: View
+) : RecyclerView.ViewHolder(view), DpadViewHolder {
+
+    override fun onViewHolderSelected() {}
+
+    override fun onViewHolderDeselected() {}
+
+}
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 00000000..b11c15d9 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,78 @@ + + + + https://rubensousa.github.io/dpadrecyclerview/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/alignment/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/changelog/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/compose/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/getting_started/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/migrating_leanback/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/selection/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/testing/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/xml/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/recipes/alignment/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/recipes/dragdrop/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/recipes/focus/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/recipes/layout/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/recipes/scrolling/ + 2024-06-16 + daily + + + https://rubensousa.github.io/dpadrecyclerview/recipes/spacing/ + 2024-06-16 + daily + + \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz new file mode 100644 index 00000000..bdce5f09 Binary files /dev/null and b/sitemap.xml.gz differ diff --git a/testing/index.html b/testing/index.html new file mode 100644 index 00000000..b74ee25e --- /dev/null +++ b/testing/index.html @@ -0,0 +1,848 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Testing - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Testing

+

The module dpadrecyclerview-testing includes useful Espresso helpers for UI tests that require DPAD navigation.

+

Check the Espresso training guide if you're not familiar with this testing framework.

+

The official project sample over at Github also contains example UI tests here

+

Dispatching key events

+

KeyEvents provides some utility methods for easily pressing keys a certain amount of times.

+
KeyEvents.click()
+KeyEvents.back()
+KeyEvents.pressDown(times = 5)
+// 50 ms between each key press
+KeyEvents.pressUp(times = 5, delay = 50)
+
+

Speeding up rate of key events

+

DisableIdleTimeoutRule is a rule useful for removing any artificial delays produced automatically by UiAutomator when injecting key events into the test application.

+
1
+2
+3
+4
+5
+6
class UiTest() {
+
+    @get:Rule
+    val disableIdleTimeoutRule = DisableIdleTimeoutRule()
+
+}
+
+

ViewActions

+

DpadViewActions contains the following:

+
    +
  • getViewBounds: returns the bounds of a view in the coordinate-space of the root view of the window
  • +
  • getRelativeViewBounds: returns the bounds of a view in the coordinate-space of the parent view
  • +
  • clearFocus: clears the focus of a view if something else can take focus in its place
  • +
  • requestFocus: requests focus of a view
  • +
+

DpadRecyclerViewActions contains the following:

+
    +
  • scrollTo: scrolls to a specific itemView using KeyEvents
  • +
  • scrollToHolder: scrolls to a specific ViewHolder using KeyEvents
  • +
  • selectLastPosition: selects the last position of the adapter
  • +
  • selectPosition: selects a given position or position-subPosition pair
  • +
  • selectSubPosition: selects a given subPosition for the current selected position
  • +
  • getItemViewBounds: returns the bounds of the itemView of a ViewHolder at a given position in the coordinate-space of the root view of the window
  • +
  • waitForAdapterUpdate: loops the main thread until there's a given amount of adapter updates
  • +
  • waitForIdleScroll: loops the main thread until the DpadRecyclerView scroll state is not idle
  • +
  • execute: perform a generic action on the DpadRecyclerView
  • +
+

Example:

+
Espresso.onView(withId(R.id.recyclerView))
+    .perform(DpadRecyclerViewActions.scrollTo<RecyclerView.ViewHolder>(
+        hasDescendant(withText("Some title"))
+    ))
+
+

ViewAssertions

+

DpadRecyclerViewAssertions:

+
    +
  • isFocused: checks if a ViewHolder at a given position is focused
  • +
  • isSelected: checks if a ViewHolder at a given position or position-subPosition pair is selected
  • +
+

DpadViewAssertions:

+
    +
  • isFocused and isNotFocused : checks if a View is focused
  • +
  • hasFocus and doesNotHaveFocus: checks if a View or one of its descendants has focus
  • +
+

Example:

+
Espresso.onView(withId(R.id.recyclerView))
+    .assert(DpadRecyclerViewAssertions.isFocused(position = 5))
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/xml/index.html b/xml/index.html new file mode 100644 index 00000000..d9c71fbc --- /dev/null +++ b/xml/index.html @@ -0,0 +1,885 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes - DpadRecyclerView + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

XML Attributes

+

Alignment

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
<attr name="dpadRecyclerViewChildAlignmentOffset" format="dimension" />
+<attr name="dpadRecyclerViewChildAlignmentFraction" format="float" />
+<attr name="dpadRecyclerViewChildAlignmentFractionEnabled" format="boolean" />
+<attr name="dpadRecyclerViewParentAlignmentEdge" format="enum">
+    <enum name="none" value="0" />
+    <enum name="min" value="1" />
+    <enum name="max" value="2" />
+    <enum name="min_max" value="3" />
+</attr>
+<attr name="dpadRecyclerViewParentAlignmentOffset" format="dimension" />
+<attr name="dpadRecyclerViewParentAlignmentFraction" format="float" />
+<attr name="dpadRecyclerViewParentAlignmentFractionEnabled" format="boolean" />
+<attr name="dpadRecyclerViewParentAlignmentPreferKeylineOverEdge" format="boolean" />
+
+

Focus

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
<attr name="dpadRecyclerViewFocusOutFront" format="boolean" />
+<attr name="dpadRecyclerViewFocusOutBack" format="boolean" />
+<attr name="dpadRecyclerViewFocusOutSideFront" format="boolean" />
+<attr name="dpadRecyclerViewFocusOutSideBack" format="boolean" />
+<attr name="dpadRecyclerViewSmoothFocusChangesEnabled" format="boolean" />
+<attr name="dpadRecyclerViewFocusableDirection" format="enum">
+    <enum name="standard" value="0" />
+    <enum name="circular" value="1" />
+    <enum name="continuous" value="2" />
+</attr>
+
+

Layout

+

These default attributes from other ViewGroups are supported:

+
1
+2
+3
+4
<attr name="spanCount" />
+<attr name="reverseLayout" />
+<attr name="android:gravity" />
+<attr name="android:orientation" />
+
+

Styling

+

You can apply a default style in your theme:

+
1
+2
+3
+4
+5
+6
+7
<style name="Theme.App" parent="Theme.MaterialComponents.NoActionBar">
+    <item name="dpadRecyclerViewStyle">@style/DpadRecyclerViewStyle</item>
+</style>
+
+<style name="DpadRecyclerViewStyle">
+   <!-- Attributes here -->
+</style>
+
+

Or create individual styles:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
<style name="HorizontalStartDpadRecyclerView">
+    <item name="android:orientation">horizontal</item>
+    <item name="dpadRecyclerViewChildAlignmentOffset">@dimen/list_margin_start</item>
+    <item name="dpadRecyclerViewChildAlignmentFraction">0.0f</item>
+    <item name="dpadRecyclerViewParentAlignmentEdge">min_max</item>
+    <item name="dpadRecyclerViewParentAlignmentFraction">0.0f</item>
+</style>
+
+<style name="VerticalCenterDpadRecyclerView">
+    <item name="android:orientation">vertical</item>
+    <item name="dpadRecyclerViewChildAlignmentFraction">0.5f</item>
+    <item name="dpadRecyclerViewParentAlignmentEdge">min_max</item>
+    <item name="dpadRecyclerViewParentAlignmentFraction">0.5f</item>
+</style>
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file