This project has moved and is read-only. For the latest updates, please go here.


RecyclerView support?


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

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


lbugnion wrote Jan 16, 2016 at 9:42 PM


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

Thanks for the interest

lbugnion wrote Jan 19, 2016 at 3:16 PM

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


lbugnion wrote Apr 17, 2016 at 5: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!

lbugnion wrote Jul 20, 2016 at 8:56 AM

Fixed in V5.3.0