Skip to content

,System.Action{-0,Android.Views.View})}

ReactivePagerAdapter(TCollection, Func, Action?) constructor

Defined in

Type: ReactivePagerAdapter Namespace: ReactiveUI.AndroidX Assembly: ReactiveUI.AndroidX.dll

Applies to

net10.0-android36.0

public ReactivePagerAdapter(TCollection collection, Func<TViewModel, ViewGroup, View> viewCreator, Action<TViewModel, View>? viewInitializer = null)

View source

Summary: ReactivePagerAdapter is a PagerAdapter that will interface with a Observable change set, in a similar fashion to ReactiveTableViewSource.

Parameters

NameTypeDescription
collectionTCollectionThe collection to page.
viewCreatorFuncThe function which will create the view.
viewInitializer = nullAction?A action which will initialize the view.

Remarks

Initializes a new instance of the ReactivePagerAdapter class.