Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class MarshalingObservableCollection : List<object>, INotifyCollectionCha
readonly IList _internalCollection;
readonly IDispatcher _dispatcher;
readonly WeakNotifyCollectionChangedProxy _proxy;
readonly NotifyCollectionChangedEventHandler _internalCollectionChanged;

/// <param name="list">The list parameter.</param>
public MarshalingObservableCollection(IList list)
Expand All @@ -33,7 +34,8 @@ public MarshalingObservableCollection(IList list)

_internalCollection = list;
_dispatcher = Dispatcher.GetForCurrentThread();
_proxy = new WeakNotifyCollectionChangedProxy(incc, InternalCollectionChanged);
_internalCollectionChanged = InternalCollectionChanged;
_proxy = new WeakNotifyCollectionChangedProxy(incc, _internalCollectionChanged);

foreach (var item in _internalCollection)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
x:Name="TestCarouselView"
Grid.Row="1"
ItemTemplate="{StaticResource SampleItemTemplate}"
Loop="True"
Loop="False"
HeightRequest="250"
HorizontalOptions="Center"/>

Expand Down
Loading