DavidSilverlight / Eventarin

Event Management Tool used for conferences built on Xamarin mobile development technology. Used to create mobile apps for local conferences that allow attendees to view sessions, events, build a schedule and other features that are voted on by the community.
MIT License
5 stars 1 forks source link

Add Pull To Refresh on Android #1

Open jstawski opened 9 years ago

jstawski commented 9 years ago

Currently Xamarin.Forms has the ListViewRenderer as internal for Android making it impossible to be able to change the Rendering of the PullToRefreshListView on Android.

We need to find an alternative to Android.

jstawski commented 9 years ago

ListViewRenderer in Android is internal and therefore it can't be used for rendering. Instead we have to use the technique outlined in this video starting on the 30:50 mark by inheriting from ViewRenderer<PullToRefreshListView, ListView>. The renderer should dynamically add a SwipeRefreshLayout.

This entails quite a lot of work as we need to basically recreate the internal ListViewRenderer with the ability to use custom cell views and databinding.

jstawski commented 9 years ago

I think this would be a huge undertaking for now and we should avoid it until ListViewRenderer becomes public on Android.

In the meantime we should add a refresh button to the Page for manual refresh as well as PullToRefresh (iOS)