Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
This repository was archived by the owner on May 24, 2022. It is now read-only.

Android 2.x Issue #8

@beoss

Description

@beoss

Hello,

I have a modified version of the menu the Xamarin ABS implementation and came across a bug with "CustomViewAbove.cs". The initialization of the interpolator caused a crash. At present my fix is to change how that is initialized; here's what I changed:

Line #27 CustomViewAbove.cs

private IInterpolator _interpolator;

Then where it is used, line 106, I changed that to this crude code:

try
{
if (_interpolator == null)
{
_interpolator = new CVAInterpolator();
}

            _scroller = new Scroller(Context, _interpolator);
        }
        catch
        {
            _scroller = new Scroller(Context);
        }

It was a quick fix for the error I ran into and needs a better solution but I figured I share what I've done with it so far.

Thomas

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions