Skip to content

ReactiveRecyclerViewViewHolder class

Attributes: [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.512)] [DebuggerDisplay("{ViewModel}")]

Defined in

Namespace: ReactiveUI.AndroidX Assembly: ReactiveUI.AndroidX.dll Full name: ReactiveUI.AndroidX.ReactiveRecyclerViewViewHolder<T> Modifiers: public

Summary

View source

A ViewHolder implementation that binds to a reactive view model.

Applies to

net10.0-android36.0

Class hierarchy
classDiagram
class ReactiveRecyclerViewViewHolder~T~
class ViewHolder
ViewHolder <|-- ReactiveRecyclerViewViewHolder~T~
class ILayoutViewHost {
    <>
}
ILayoutViewHost <|.. ReactiveRecyclerViewViewHolder~T~
class IViewFor~TViewModel~ {
    <>
}
IViewFor~TViewModel~ <|.. ReactiveRecyclerViewViewHolder~T~
class IViewFor {
    <>
}
IViewFor <|.. ReactiveRecyclerViewViewHolder~T~
class IActivatableView {
    <>
}
IActivatableView <|.. ReactiveRecyclerViewViewHolder~T~
class IReactiveNotifyPropertyChanged~ReactiveRecyclerViewViewHolder~TViewModel~~ {
    <>
}
IReactiveNotifyPropertyChanged~ReactiveRecyclerViewViewHolder~TViewModel~~ <|.. ReactiveRecyclerViewViewHolder~T~
class IReactiveObject {
    <>
}
IReactiveObject <|.. ReactiveRecyclerViewViewHolder~T~
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. ReactiveRecyclerViewViewHolder~T~
class INotifyPropertyChanging {
    <>
}
INotifyPropertyChanging <|.. ReactiveRecyclerViewViewHolder~T~
class IEnableLogger {
    <>
}
IEnableLogger <|.. ReactiveRecyclerViewViewHolder~T~
class ICanActivate {
    <>
}
ICanActivate <|.. ReactiveRecyclerViewViewHolder~T~

Inherits from: ViewHolder

Implements: ILayoutViewHost, IViewFor<TViewModel>, IViewFor, IActivatableView, IReactiveNotifyPropertyChanged>, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate

Remarks

The trimmer keeps the public properties of every type derived from this one, so the AllPublicProperties lookup is safe to trim and to compile ahead of time.

Constructors

NameSummary
.ctorInitializes a new instance of the [ReactiveRecyclerViewViewHolder](# class.

Properties

NameSummary
SelectedGets an observable that signals that this ViewHolder has been selected.
SelectedWithViewModelGets an observable that signals that this ViewHolder has been selected.
LongClickedGets an observable that signals that this ViewHolder has been long-clicked.
LongClickedWithViewModelGets an observable that signals that this ViewHolder has been long-clicked.
ActivatedGets a observable which is triggered when the ViewModel is activated.
DeactivatedGets a observable which is triggered when the ViewModel is deactivated.
ViewGets the current view being shown.
ViewModelGets or sets the view model displayed by the view.
ThrownExceptionsGets an observable which signals when exceptions are thrown.
ChangingGets an observable that fires before a property is about to be changed. Note that this should not fire duplicate change notifications if a property is set to the same...
ChangedGets an Observable that fires after a property has changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple...
AllPublicPropertiesGets or sets the lazily-computed set of public properties used by legacy reflection-based wiring.

Methods

NameSummary
SuppressChangeNotificationsWhen this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.
AreChangeNotificationsEnabledGets if change notifications via the INotifyPropertyChanged interface are being sent.
DisposeTo be added.

Events

NameSummary
PropertyChangingOccurs when a property value is changing.
PropertyChangedOccurs when a property value changes.
Inherited members