CoverFlowView, Android-only, "Method not found: bool PanCardView.CardsView.get_IsPanControllingdByChild()"
See original GitHub issueThis error occurs when I start scrolling horizontal on ConverFlowView.
View
<cards:CoverFlowView
PositionShiftValue="145"
IsCyclical="false"
ItemsSource="{Binding TestItems}">
<cards:CoverFlowView.ItemTemplate>
<DataTemplate>
<Label
HeightRequest="100"
Text="{Binding Title}" />
</DataTemplate>
</cards:CoverFlowView.ItemTemplate>
</cards:CoverFlowView>
ViewModel
public ObservableCollection<object> TestItems { get; }
TestItems = new ObservableCollection<object>
{
new { Title = "First" },
new { Title = "Second" },
new { Title = "Long Title" },
new { Title = "4" },
new { Title = "5th" }
};
The package is installed with nuget in the shared project, android og iOS-project. MainActivity
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
CardsViewRenderer.Preserve();
LoadApplication(new App());
No issues in iOS. I use a Huawei smartphone API 28 as test device.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AndreiMisiukevich I tried too and it worked with sample. So I started applying my own app into the sample. The error began when I added the dependency to https://www.nuget.org/packages/PanCardView/. Removed it and now everything works fine.
Thank you!
Cannot reproduce
test.zip
Can you try this sample?