Summary
This is an Activity that is both an Activity and has ReactiveObject powers
(i.e. you can call RaiseAndSetIfChanged).
- Namespace
- ReactiveUI
- Interfaces
-
- IReactiveObject
- I
Notify Property Changed - I
Notify Property Changing - IEnableLogger
- I
Reactive Notify Property Changed <Reactive Preference >Activity - I
Handle Observable Errors - IViewFor
<TViewModel> - IViewFor
- IActivatableView
- ICanActivate
- Base Types
-
- PreferenceActivity
- Reactive
Preference Activity
graph BT
Type-->Base0["ReactivePreferenceActivity"]
click Base0 "/api/ReactiveUI/ReactivePreferenceActivity"
Base0-->Base1["PreferenceActivity"]
Type-.->Interface0["IReactiveObject"]
click Interface0 "/api/ReactiveUI/IReactiveObject"
Type-.->Interface1["INotifyPropertyChanged"]
Type-.->Interface2["INotifyPropertyChanging"]
Type-.->Interface3["IEnableLogger"]
Type-.->Interface4["IReactiveNotifyPropertyChanged<ReactivePreferenceActivity>"]
Type-.->Interface5["IHandleObservableErrors"]
click Interface5 "/api/ReactiveUI/IHandleObservableErrors"
Type-.->Interface6["IViewFor<TViewModel>"]
Type-.->Interface7["IViewFor"]
click Interface7 "/api/ReactiveUI/IViewFor"
Type-.->Interface8["IActivatableView"]
click Interface8 "/api/ReactiveUI/IActivatableView"
Type-.->Interface9["ICanActivate"]
click Interface9 "/api/ReactiveUI/ICanActivate"
Type["ReactivePreferenceActivity<TViewModel>"]
class Type type-node
Syntax
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1402:FileMayOnlyContainASingleType", Justification = "Classes with the same class names within.")]
[Obsolete("This class is obsoleted in this android platform")]
public class ReactivePreferenceActivity<TViewModel> : ReactivePreferenceActivity, IReactiveObject,
INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger,
IReactiveNotifyPropertyChanged<ReactivePreferenceActivity>, IHandleObservableErrors,
IViewFor<TViewModel>, IViewFor, IActivatableView, ICanActivate
where TViewModel : class
Attributes
Type | Description |
---|---|
Suppress |
|
Obsolete |
Type Parameters
Name | Description |
---|---|
TViewModel | The view model type. |
Constructors
Name | Summary |
---|---|
Reactive |
Initializes a new instance of the ReactivePreferenceActivity<TViewModel> class.
|
Reactive |
Initializes a new instance of the ReactivePreferenceActivity<TViewModel> class.
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | Property |
Inherited from Reactive
|
PropertyChanging | Property |
Inherited from Reactive
|
Properties
Name | Value | Summary |
---|---|---|
Activated | IObservable |
Gets a signal when the activity is activated.
Inherited from Reactive
|
ActivityResult | IObservable |
Gets a signal with an activity result.
Inherited from Reactive
|
Changed | IObservable |
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 times.
Inherited from Reactive
|
Changing | IObservable |
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 value multiple times.
Inherited from Reactive
|
Deactivated | IObservable |
Gets a signal when the activity is deactivated.
Inherited from Reactive
|
ThrownExceptions | IObservable |
Gets a observable which will fire whenever an exception would normally terminate ReactiveUI
internal state.
Inherited from Reactive
|
ViewModel | TViewModel |
Gets or sets the ViewModel corresponding to this specific View. This should be
a DependencyProperty if you're using XAML.
|
Methods
Name | Value | Summary |
---|---|---|
Dispose |
void |
Inherited from Reactive
|
OnActivityResult |
void |
Inherited from Reactive
|
OnPause |
void |
Inherited from Reactive
|
OnResume |
void |
Inherited from Reactive
|
Start |
Task |
Starts the activity for result asynchronously.
Inherited from Reactive
|
Start |
Task |
Starts the activity for result asynchronously.
Inherited from Reactive
|
Suppress |
IDisposable |
When this method is called, an object will not fire change
notifications (neither traditional nor Observable notifications)
until the return value is disposed.
Inherited from Reactive
|