Fix GestureManager, CollectionViewHandler from decompiled production
GestureManager.cs: - Added third fallback for TappedEvent fields (_TappedHandler, <Tapped>k__BackingField) - Added type info dump when event cannot be fired (debugging aid) - Fixed swipe Right handling with proper direction check - Added SendSwiped success log - Changed Has* methods to use foreach instead of LINQ CollectionViewHandler.cs: - Added full OnItemTapped implementation with gesture handling - Added MauiView assignment in MapItemTemplate for gesture processing SkiaItemsView.cs: - Added GetItemView() method for CollectionViewHandler Verified handlers match decompiled: - GraphicsViewHandler - ItemsViewHandler - WindowHandler 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -722,6 +722,18 @@ public class SkiaItemsView : SkiaView
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the SkiaView for a given item index from the cache.
|
||||
/// </summary>
|
||||
public SkiaView? GetItemView(int index)
|
||||
{
|
||||
if (!_itemViewCache.TryGetValue(index, out var view))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return view;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user