Skip to content

Getting started with the component. #3

@georgepiva

Description

@georgepiva

I am writing my first Android Application and I was trying to use this component downloaded from the Xamarin Store.

I tried to follow the Getting Started instructions in order to use the component inside my application, but I was facing these next issues:

After researching for while, I could make it work by:

  • Downloading, installing and referencing the Mono.Android.Support.v4 into my project;
  • Updating the next line:

from:
FindViewById<IPullToRefresharpView>(Resource.Id.myListView);
to
FindViewById<PullToRefresharp.Android.Widget.ListView> (Resource.Id.myListView);

  • Updating my layout:

from:
<pulltorefresharp.views.ViewWrapper and <pulltorefresharp.widget.ListView
to
<pulltorefresharp.android.views.ViewWrapper and <pulltorefresharp.android.widget.ListView

Were these fixed issues just related to my current project or are there some mistakes into the Getting Started page instructions?

Just asking because it may help others.

Btw, thank you @bduncavage by the good job you have been doing here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions