Class ReactiveFragmentActivity<TViewModel>
- Namespace
- ReactiveUI.AndroidSupport
- Assembly
- ReactiveUI.AndroidSupport.dll
This is an Activity that is both an Activity and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public class ReactiveFragmentActivity<TViewModel> : ReactiveFragmentActivity, IViewModelStoreOwner, ActivityCompat.IOnRequestPermissionsResultCallback, ActivityCompat.IRequestPermissionsRequestCodeValidator, ILifecycleOwner, IJavaObject, IDisposable, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IReactiveNotifyPropertyChanged<ReactiveFragmentActivity>, IHandleObservableErrors, IViewFor<TViewModel>, IViewFor, IActivatableView, ICanActivate where TViewModel : class
Type Parameters
TViewModel
The view model type.
- Inheritance
-
FragmentActivityReactiveFragmentActivity<TViewModel>
- Implements
-
IViewModelStoreOwnerActivityCompat.IOnRequestPermissionsResultCallbackActivityCompat.IRequestPermissionsRequestCodeValidatorILifecycleOwnerIJavaObjectIViewFor<TViewModel>
- Inherited Members
-
FragmentActivity.OnAttachFragment(Fragment)FragmentActivity.OnPrepareOptionsPanel(View, IMenu)FragmentActivity.OnResumeFragments()FragmentActivity.OnRetainCustomNonConfigurationInstance()FragmentActivity.OnRetainNonConfigurationInstance()FragmentActivity.SetEnterSharedElementCallback(SharedElementCallback)FragmentActivity.SetExitSharedElementCallback(SharedElementCallback)FragmentActivity.SupportFinishAfterTransition()FragmentActivity.SupportInvalidateOptionsMenu()FragmentActivity.SupportPostponeEnterTransition()FragmentActivity.SupportStartPostponedEnterTransition()FragmentActivity.JniPeerMembersFragmentActivity.ThresholdClassFragmentActivity.ThresholdTypeFragmentActivity.LastCustomNonConfigurationInstanceFragmentActivity.LifecycleFragmentActivity.SupportFragmentManagerFragmentActivity.SupportLoaderManagerFragmentActivity.ViewModelStore
- Extension Methods
Constructors
ReactiveFragmentActivity()
Initializes a new instance of the ReactiveFragmentActivity<TViewModel> class.
protected ReactiveFragmentActivity()
Properties
ViewModel
Gets or sets the ViewModel corresponding to this specific View. This should be a DependencyProperty if you're using XAML.
public TViewModel? ViewModel { get; set; }
Property Value
- TViewModel