ReactiveActivity class¶
Attributes: [DebuggerDisplay("{Activated}, {Deactivated}")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.ReactiveActivity
Modifiers: public
Summary¶
This is an Activity that is both an Activity and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
Applies to
net10.0-android36.0
Class hierarchy
classDiagram
class ReactiveActivity
class Activity
Activity <|-- ReactiveActivity
class IReactiveObject {
<>
}
IReactiveObject <|.. ReactiveActivity
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. ReactiveActivity
class INotifyPropertyChanging {
<>
}
INotifyPropertyChanging <|.. ReactiveActivity
class IEnableLogger {
<>
}
IEnableLogger <|.. ReactiveActivity
class IReactiveNotifyPropertyChanged~ReactiveActivity~ {
<>
}
IReactiveNotifyPropertyChanged~ReactiveActivity~ <|.. ReactiveActivity
class IHandleObservableErrors {
<>
}
IHandleObservableErrors <|.. ReactiveActivity
Inherits from: Activity
Implements: IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IReactiveNotifyPropertyChanged
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactiveActivity](# class. |
Properties¶
| Name | Summary |
|---|---|
| Changing | Gets 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... |
| Changed | Gets 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... |
| ThrownExceptions | Gets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state. |
| Activated | Gets a signal when the activity is activated. |
| Deactivated | Gets a signal when the activity is deactivated. |
| ActivityResult | Gets the activity result. |
Methods¶
| Name | Summary |
|---|---|
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| StartActivityForResultAsync | Starts the activity for result asynchronously. |
| OnPause | |
| OnResume | |
| OnActivityResult | |
| Dispose |
Events¶
| Name | Summary |
|---|---|
| PropertyChanging | |
| PropertyChanged |