Table of Contents

Class ReactiveCollectionViewController

Namespace
ReactiveUI
Assembly
ReactiveUI.dll

This is a UICollectionViewController that is both an UICollectionViewController and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).

public abstract class ReactiveCollectionViewController : UICollectionViewController, IReactiveNotifyPropertyChanged<ReactiveCollectionViewController>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate
Inheritance
ReactiveCollectionViewController
Implements
Derived
Extension Methods
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)

Constructors

ReactiveCollectionViewController()

Initializes a new instance of the ReactiveCollectionViewController class.

protected ReactiveCollectionViewController()

ReactiveCollectionViewController(NSCoder)

Initializes a new instance of the ReactiveCollectionViewController class.

protected ReactiveCollectionViewController(NSCoder coder)

Parameters

coder NSCoder

The coder.

ReactiveCollectionViewController(NSObjectFlag)

Initializes a new instance of the ReactiveCollectionViewController class.

protected ReactiveCollectionViewController(NSObjectFlag t)

Parameters

t NSObjectFlag

The object flag.

ReactiveCollectionViewController(IntPtr)

Initializes a new instance of the ReactiveCollectionViewController class.

protected ReactiveCollectionViewController(IntPtr handle)

Parameters

handle IntPtr

The pointer.

ReactiveCollectionViewController(string, NSBundle)

Initializes a new instance of the ReactiveCollectionViewController class.

protected ReactiveCollectionViewController(string nibName, NSBundle bundle)

Parameters

nibName string

The name.

bundle NSBundle

The bundle.

ReactiveCollectionViewController(UICollectionViewLayout)

Initializes a new instance of the ReactiveCollectionViewController class.

protected ReactiveCollectionViewController(UICollectionViewLayout withLayout)

Parameters

withLayout UICollectionViewLayout

The ui collection view layout.

Properties

Activated

Gets a observable which is triggered when the ViewModel is activated.

public IObservable<Unit> Activated { get; }

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.

public IObservable<IReactivePropertyChangedEventArgs<ReactiveCollectionViewController>> Changed { get; }

Property Value

IObservable<IReactivePropertyChangedEventArgs<ReactiveCollectionViewController>>

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.

public IObservable<IReactivePropertyChangedEventArgs<ReactiveCollectionViewController>> Changing { get; }

Property Value

IObservable<IReactivePropertyChangedEventArgs<ReactiveCollectionViewController>>

Deactivated

Gets a observable which is triggered when the ViewModel is deactivated.

public IObservable<Unit> Deactivated { get; }

Property Value

IObservable<Unit>

ThrownExceptions

Gets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state.

public IObservable<Exception> ThrownExceptions { get; }

Property Value

IObservable<Exception>

Methods

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

SuppressChangeNotifications()

When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.

public IDisposable SuppressChangeNotifications()

Returns

IDisposable

An object that, when disposed, reenables change notifications.

ViewDidDisappear(bool)

public override void ViewDidDisappear(bool animated)

Parameters

animated bool

ViewWillAppear(bool)

public override void ViewWillAppear(bool animated)

Parameters

animated bool

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler

PropertyChanging

public event PropertyChangingEventHandler? PropertyChanging

Event Type

PropertyChangingEventHandler