Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Leverage RecyclerView on Android

AdrianKnightAdrianKnight USMember ✭✭✭✭
edited December 2016 in Xamarin.Forms

Summary

RecyclerView seems to be a replacement for ListView and GridView. Is it possible for us to use it without resorting to a custom renderer? If we could ditch ListView on Android, we can use this cutting-edge control which would give us performance benefits.

API Changes

I do not know exactly how this would be implemented. Perhaps a new control can be added to Core named RecyclerView which defaults to ListView on iOS and UWP but uses a RecyclerView on Android. However, due to the nature of the ViewHolder pattern (OnCreateViewHolder and OnBindViewHolder) and the way XF is currently implemented, this might not be an easy task.

Intended use case

For everyday programming for everybody. Android already suffers from performance problems. Since scrollable content is usually THE most important part of a user interface, this change would benefit us tremendously.

Tagged:

Accepted · Last Updated

No implementor has been assigned. Let us know in a comment below if you wish to implement this proposal.

Posts

Sign In or Register to comment.