-
Notifications
You must be signed in to change notification settings - Fork 78
Description
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:
- Mono.Android.Support.v4 not found;
- There is no implicit reference conversion from PullToRefresharp.Android.Views.IPullToRefresharpView to Android.Views.View (CS0311);
- Binary XML file line Objects on scrollview intercept touch events, pull to refresh doesn't work in that case #1: Error inflating class pulltorefresharp.views.ViewWrapper.
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.