Skip to content

ReactiveFragmentActivity class

Attributes: [DebuggerDisplay("{Activated}, {Deactivated}")]

Defined in

Namespace: ReactiveUI.AndroidX Assembly: ReactiveUI.AndroidX.dll Full name: ReactiveUI.AndroidX.ReactiveFragmentActivity Modifiers: public

Summary

View source

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 ReactiveFragmentActivity
class FragmentActivity
FragmentActivity <|-- ReactiveFragmentActivity
class IReactiveObject {
    <>
}
IReactiveObject <|.. ReactiveFragmentActivity
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. ReactiveFragmentActivity
class INotifyPropertyChanging {
    <>
}
INotifyPropertyChanging <|.. ReactiveFragmentActivity
class IEnableLogger {
    <>
}
IEnableLogger <|.. ReactiveFragmentActivity
class IReactiveNotifyPropertyChanged~ReactiveFragmentActivity~ {
    <>
}
IReactiveNotifyPropertyChanged~ReactiveFragmentActivity~ <|.. ReactiveFragmentActivity
class IHandleObservableErrors {
    <>
}
IHandleObservableErrors <|.. ReactiveFragmentActivity

Inherits from: FragmentActivity

Implements: IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IReactiveNotifyPropertyChanged, IHandleObservableErrors

Constructors

NameSummary
.ctor

Properties

NameSummary
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...
ThrownExceptionsGets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state.
ActivatedGets a signal when the activity fragment is activated.
DeactivatedGets a signal when the activity fragment is deactivated.
ActivityResultGets the activity result.

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.
StartActivityForResultAsyncStarts the activity for result asynchronously.
OnPauseCalled as part of the activity lifecycle when the user no longer actively interacts with the activity, but it is still visible on screen.
OnResumeCalled after #onRestoreInstanceState, #onRestart, or #onPause.
OnActivityResultCalled when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.
DisposeTo be added.

Events

NameSummary
PropertyChangingOccurs when a property value is changing.
PropertyChangedOccurs when a property value changes.

Derived types

Inherited members