Open jstawski opened 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.
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)
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.