Skip to content

ReactiveAppCompatActivity class

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

Defined in

Namespace: ReactiveUI.AndroidX Assembly: ReactiveUI.AndroidX.dll Full name: ReactiveUI.AndroidX.ReactiveAppCompatActivity 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 ReactiveAppCompatActivity
class AppCompatActivity
AppCompatActivity <|-- ReactiveAppCompatActivity
class IReactiveObject {
    <>
}
IReactiveObject <|.. ReactiveAppCompatActivity
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. ReactiveAppCompatActivity
class INotifyPropertyChanging {
    <>
}
INotifyPropertyChanging <|.. ReactiveAppCompatActivity
class IEnableLogger {
    <>
}
IEnableLogger <|.. ReactiveAppCompatActivity
class IReactiveNotifyPropertyChanged~ReactiveAppCompatActivity~ {
    <>
}
IReactiveNotifyPropertyChanged~ReactiveAppCompatActivity~ <|.. ReactiveAppCompatActivity
class IHandleObservableErrors {
    <>
}
IHandleObservableErrors <|.. ReactiveAppCompatActivity

Inherits from: AppCompatActivity

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

Constructors

NameSummary
.ctorInitializes a new instance of the [ReactiveAppCompatActivity](# class.

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 activated.
DeactivatedGets a signal when 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