Summary
This is a PreferenceFragment that is both an Activity and has ReactiveObject powers
(i.e. you can call RaiseAndSetIfChanged).
- Namespace
- ReactiveUI
.AndroidX - Interfaces
-
- I
Reactive Notify Property Changed <Reactive Preference >Fragment - IReactiveObject
- I
Notify Property Changed - I
Notify Property Changing - IEnableLogger
- I
Handle Observable Errors - IViewFor
<TViewModel> - IViewFor
- IActivatableView
- ICanActivate
- I
- Base Types
-
- Preference
Fragment Compat - Reactive
Preference Fragment
- Preference
graph BT
Type-->Base0["ReactivePreferenceFragment"]
click Base0 "/api/ReactiveUI.AndroidX/ReactivePreferenceFragment"
Base0-->Base1["PreferenceFragmentCompat"]
Type-.->Interface0["IReactiveNotifyPropertyChanged<ReactivePreferenceFragment>"]
Type-.->Interface1["IReactiveObject"]
click Interface1 "/api/ReactiveUI/IReactiveObject"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["INotifyPropertyChanging"]
Type-.->Interface4["IEnableLogger"]
click Interface4 "/api/Splat/IEnableLogger"
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["ReactivePreferenceFragment<TViewModel>"]
class Type type-node
Syntax
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1402:FileMayOnlyContainASingleType", Justification = "Classes with the same class names within.")]
public abstract class ReactivePreferenceFragment<TViewModel> : ReactivePreferenceFragment,
IReactiveNotifyPropertyChanged<ReactivePreferenceFragment>, IReactiveObject,
INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IHandleObservableErrors,
IViewFor<TViewModel>, IViewFor, IActivatableView, ICanActivate
where TViewModel : class
Attributes
Type | Description |
---|---|
Suppress |
Type Parameters
Name | Description |
---|---|
TViewModel | The view model type. |
Constructors
Name | Summary |
---|---|
Reactive |
Initializes a new instance of the ReactivePreferenceFragment<TViewModel> class.
|
Reactive |
Initializes a new instance of the ReactivePreferenceFragment<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 fragment is activated.
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 fragment 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
|
OnPause |
void |
Inherited from Reactive
|
OnResume |
void |
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
|