The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

ReactivePagerAdapter<TViewModel>.

ReactivePagerAdapter(IObservable<IChangeSet<TViewModel>>, Func<TViewModel, ViewGroup, View>, Action<TViewModel, View>?) Constructor

Summary

Initializes a new instance of the ReactivePagerAdapter<TViewModel> class.

Syntax

public ReactivePagerAdapter(IObservable<IChangeSet<TViewModel>> changeSet, Func<TViewModel, ViewGroup, View> viewCreator, Action<TViewModel, View>? viewInitializer = null)

Parameters

Name Type Description
changeSet IObservable<IChangeSet<TViewModel>> The change set to page.
viewCreator Func<TViewModel, ViewGroup, View> A function which will create the view.
viewInitializer Action<TViewModel, View>? A action which will initialize a view.

Return Value

Type Description
void