Skip to content

,UIKit.UICollectionView,Foundation.NSString)} ,UIKit.UICollectionView,Foundation.NSString,System.Action{--1})} ,UIKit.UICollectionView,Foundation.NSString,System.Action{--1},System.Func{ReactiveUI.Reactive.ReactiveCollectionViewSource{--0},System.IDisposable})} ,UIKit.UICollectionView)} ,UIKit.UICollectionView,System.Action{--1})} ,UIKit.UICollectionView,System.Action{--1},System.Func{ReactiveUI.Reactive.ReactiveCollectionViewSource{--0},System.IDisposable})} }},UIKit.UICollectionView)} }},UIKit.UICollectionView,System.Func{ReactiveUI.Reactive.ReactiveCollectionViewSource{--0},System.IDisposable})}

ReactiveCollectionViewSourceExtensions.BindTo(IObservable, UICollectionView, NSString) method

Defined in

Type: ReactiveCollectionViewSourceExtensions Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0

Overloads

  • 1. public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, NSString cellKey) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 2. public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, NSString cellKey, Action<TCell>? initializeCellAction) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 3. public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, NSString cellKey, Action<TCell>? initializeCellAction, Func<ReactiveCollectionViewSource<TSource>, IDisposable>? initSource) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 4. public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 5. public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, Action<TCell>? initializeCellAction) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 6. public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, Action<TCell>? initializeCellAction, Func<ReactiveCollectionViewSource<TSource>, IDisposable>? initSource) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 7. public static IDisposable BindTo<TSource, TCell>(this IObservable<IReadOnlyList<CollectionViewSectionInformation<TSource, TCell>>> sectionsObservable, UICollectionView collectionView) where TSource : notnull where TCell : notnull, UICollectionViewCell
  • 8. public static IDisposable BindTo<TSource, TCell>(this IObservable<IReadOnlyList<CollectionViewSectionInformation<TSource, TCell>>> sectionsObservable, UICollectionView collectionView, Func<ReactiveCollectionViewSource<TSource>, IDisposable>? initSource) where TSource : notnull where TCell : notnull, UICollectionViewCell

1. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, NSString cellKey) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sourceObservableIObservable--
collectionViewUICollectionView--
cellKeyNSString--

Returns: IDisposable

2. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, NSString cellKey, Action<TCell>? initializeCellAction) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sourceObservableIObservable--
collectionViewUICollectionView--
cellKeyNSString--
initializeCellActionAction?--

Returns: IDisposable

3. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, NSString cellKey, Action<TCell>? initializeCellAction, Func<ReactiveCollectionViewSource<TSource>, IDisposable>? initSource) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sourceObservableIObservable--
collectionViewUICollectionView--
cellKeyNSString--
initializeCellActionAction?--
initSourceFunc, IDisposable>?--

Returns: IDisposable

4. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sourceObservableIObservable--
collectionViewUICollectionView--

Returns: IDisposable

5. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, Action<TCell>? initializeCellAction) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sourceObservableIObservable--
collectionViewUICollectionView--
initializeCellActionAction?--

Returns: IDisposable

6. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<INotifyCollectionChanged> sourceObservable, UICollectionView collectionView, Action<TCell>? initializeCellAction, Func<ReactiveCollectionViewSource<TSource>, IDisposable>? initSource) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sourceObservableIObservable--
collectionViewUICollectionView--
initializeCellActionAction?--
initSourceFunc, IDisposable>?--

Returns: IDisposable

7. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<IReadOnlyList<CollectionViewSectionInformation<TSource, TCell>>> sectionsObservable, UICollectionView collectionView) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sectionsObservableIObservable>>--
collectionViewUICollectionView--

Returns: IDisposable

8. Overload

Attributes: [RequiresUnreferencedCode("Evaluates expression-based member chains via reflection; members may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

public static IDisposable BindTo<TSource, TCell>(this IObservable<IReadOnlyList<CollectionViewSectionInformation<TSource, TCell>>> sectionsObservable, UICollectionView collectionView, Func<ReactiveCollectionViewSource<TSource>, IDisposable>? initSource) where TSource : notnull where TCell : notnull, UICollectionViewCell

View source

Type parameters

NameDescription
TSource--
TCell--

Parameters

NameTypeDescription
sectionsObservableIObservable>>--
collectionViewUICollectionView--
initSourceFunc, IDisposable>?--

Returns: IDisposable