Skip to content

ReactiveRecyclerViewViewHolder class

Attributes: [RequiresUnreferencedCode("Android property discovery uses reflection over generated resource types that may be trimmed.")] [RequiresDynamicCode("Android property discovery discovery uses reflection that may require dynamic code generation.")]

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, IViewFor, IActivatableView, IReactiveNotifyPropertyChanged>, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate

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 strongly typed view model. Override this property to integrate with the platform's binding system.
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...

Fields

NameSummary
AllPublicPropertiesGets all public accessible properties.

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.
Dispose

Events

NameSummary
PropertyChanging
PropertyChanged
Inherited members