Class ReactivePreferenceFragment
- Namespace
- ReactiveUI.AndroidX
- Assembly
- ReactiveUI.AndroidX.dll
This is a PreferenceFragment that is both an Activity and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
[RequiresDynamicCode("SuppressChangeNotifications uses methods that require dynamic code generation")]
[RequiresUnreferencedCode("SuppressChangeNotifications uses methods that may require unreferenced code")]
public abstract class ReactivePreferenceFragment : PreferenceFragmentCompat, IReactiveNotifyPropertyChanged<ReactivePreferenceFragment>, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IHandleObservableErrors
- Inheritance
-
Reactive
Preference Fragment
- Implements
-
IEnable
Logger
- Derived
- Extension Methods
Constructors
ReactivePreferenceFragment()
Initializes a new instance of the Reactive
ReactivePreferenceFragment(in nint, JniHandleOwnership)
Initializes a new instance of the Reactive
Parameters
handlenintThe handle.
ownershipJniHandle Ownership The ownership.
Properties
Activated
Gets a signal when the fragment is activated.
Property Value
- IObservable<Unit>
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 times.
Property Value
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 value multiple times.
Property Value
Deactivated
Gets a signal when the fragment is deactivated.
Property Value
- IObservable<Unit>
ThrownExceptions
Gets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state.
Property Value
Methods
Dispose(bool)
Parameters
disposingbool
OnPause()
OnResume()
SuppressChangeNotifications()
When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.
[RequiresDynamicCode("SuppressChangeNotifications uses methods that require dynamic code generation")]
[RequiresUnreferencedCode("SuppressChangeNotifications uses methods that may require unreferenced code")]
public IDisposable SuppressChangeNotifications()
Returns
- IDisposable
An object that, when disposed, reenables change notifications.