question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CoverFlowView, Android-only, "Method not found: bool PanCardView.CardsView.get_IsPanControllingdByChild()"

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Martin-4Spacescommented, Nov 4, 2020

@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!

0reactions
AndreiMisiukevichcommented, Nov 4, 2020

Cannot reproduce

test.zip

Can you try this sample?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found