This project has moved. For the latest updates, please go here.
2

Closed

RecyclerView support?

description

I was wondering if you will add support for the RecyclerView in the way you handle ListView.

Thanks,
George
Closed Jul 20, 2016 at 7:55 AM by lbugnion
Fixed in V5.3.0

comments

lbugnion wrote Jan 16, 2016 at 8:42 PM

Hi,

This is not planned for now. Maybe in a future release.

Thanks for the interest
Laurent

lbugnion wrote Jan 19, 2016 at 2:16 PM

After looking into it more closely, it seems doable for V5.3. I will try.

Laurent

lbugnion wrote Apr 17, 2016 at 4:11 PM

I added support for RecyclerView in the upcoming version of MVVm Light (V5.3) which will be released at Xamarin Evolve. I am going to extract this to a separate assembly (and nugget package) because of the dependency on the Support.V4 and Support.V7 assemblies.

Once you have the dependencies in place, you can use the Vm.Items.GetRecyclerAdapter extension method to get an ObservableRecyclerAdapter and then you can set it as the RecyclerView's adapter. I will also publish some samples showing how to use this.

I hope you like it!
Laurent

lbugnion wrote Jul 20, 2016 at 7:56 AM

Fixed in V5.3.0