Package-level declarations

Types

Link copied to clipboard
data class AdapterViewItemClickEvent(val view: AdapterView<*>, val clickedView: View?, val position: Int, val id: Long)
Link copied to clipboard
data class AdapterViewItemLongClickEvent(val view: AdapterView<*>, val longClickedView: View?, val position: Int, val id: Long)
Link copied to clipboard
Link copied to clipboard
data class AfterTextChangeEvent(val view: TextView, val editable: Editable?)
Link copied to clipboard
data class BeforeTextChangeEvent(val view: TextView, val text: CharSequence, val start: Int, val count: Int, val after: Int)
Link copied to clipboard
data class EditorActionEvent(val view: TextView, val actionId: Int, val keyEvent: KeyEvent?)
Link copied to clipboard
sealed class QueryTextEvent
Link copied to clipboard
data class RatingChangeEvent(val view: RatingBar, val rating: Float, val fromUser: Boolean)
Link copied to clipboard
data class ScrollEvent(val view: AbsListView, val scrollState: Int, val firstVisibleItem: Int, val visibleItemCount: Int, val totalItemCount: Int)
Link copied to clipboard
sealed class SeekBarChangeEvent
Link copied to clipboard
data class TextChangeEvent(val view: TextView, val text: CharSequence, val start: Int, val before: Int, val count: Int)

Functions

Link copied to clipboard

Create a InitialValueFlow of after text change events on the TextView instance.

Link copied to clipboard

Create a InitialValueFlow of before text change events on the TextView instance.

Link copied to clipboard
Link copied to clipboard

Create a InitialValueFlow of checked state changes on the CompoundButton instance where the value emitted is whether the CompoundButton is currently checked.

Create a InitialValueFlow of checked state change events on the RadioButton instance where the value emitted is the currently checked radio button id, or -1 when the selection is cleared.

Link copied to clipboard

Create a InitialValueFlow of data change events on the Adapter instance.

Link copied to clipboard

Create a Flow of dismiss events on the AutoCompleteTextView instance.

Create a Flow of dismiss events on the PopupMenu instance.

Link copied to clipboard

Create a Flow of editor action events on the TextView instance.

Link copied to clipboard

Create a Flow of item click events on the AdapterView instance.

Create a Flow of item click events on the AutoCompleteTextView instance.

Link copied to clipboard

Create a Flow of item clicks on the AdapterView instance where the value emitted is the position of the item clicked.

Create a Flow of item clicked events on the PopupMenu instance where the value emitted is the clicked menu item.

Link copied to clipboard

Create a Flow of item long click events on the AdapterView instance.

Link copied to clipboard
fun <T : Adapter> AdapterView<T>.itemLongClicks(handled: () -> Boolean = { true }): Flow<Int>

Create a Flow of item long clicks on the AdapterView instance where the value emitted is the position of the item clicked.

Link copied to clipboard

Create a InitialValueFlow of item selections on the AdapterView instance where the value emitted is the selected position, or AdapterView.INVALID_POSITION if nothing is selected.

Link copied to clipboard

Create a InitialValueFlow of progress changes on the SeekBar instance where the value emitted is the current progress.

Link copied to clipboard

Create a InitialValueFlow of query text changes on the SearchView instance where the value emitted is latest query text.

Link copied to clipboard

Create a InitialValueFlow of query text events on the SearchView instance where the value emitted is one of the 2 event types: QueryTextEvent.QueryChanged, QueryTextEvent.QuerySubmitted

Link copied to clipboard
Link copied to clipboard

Create a InitialValueFlow of rating changes on the RatingBar instance where the value emitted is the current rating.

Link copied to clipboard

Create a Flow of scroll events on the AbsListView instance.

Link copied to clipboard
Link copied to clipboard

Create a InitialValueFlow of text change events on the TextView instance.

Link copied to clipboard

Create a InitialValueFlow of text changes on the TextView instance where the value emitted is the current text.