From 5cf16a821e8efb06f3cbd316ee67121cdc0b7c09 Mon Sep 17 00:00:00 2001 From: Gabriele Coquillard Date: Thu, 4 Jan 2018 20:51:15 +0100 Subject: [PATCH] Update README.md --- README.md | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 116460e..b118768 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ Xamarin bindings for RecyclerView Animators ====================== +Original Java Library: https://github.com/wasabeef/recyclerview-animators +

- +

[![NuGet](https://img.shields.io/nuget/dt/Microsoft.AspNetCore.Mvc.svg)](https://www.nuget.org/packages/Xamarin.RecyclerView.Animators) @@ -19,14 +21,10 @@ Please feel free to use this. # Demo ### ItemAnimator - + ### Adapters - - -# Samples - - + # How do I use it? @@ -57,12 +55,12 @@ recyclerView.SetItemAnimator(animator); ## Step 2 Please use the following -`notifyItemChanged(int)` -`notifyItemInserted(int)` -`notifyItemRemoved(int)` -`notifyItemRangeChanged(int, int)` -`notifyItemRangeInserted(int, int)` -`notifyItemRangeRemoved(int, int)` +`NotifyItemChanged(int)` +`NotifyItemInserted(int)` +`NotifyItemRemoved(int)` +`NotifyItemRangeChanged(int, int)` +`NotifyItemRangeInserted(int, int)` +`NotifyItemRangeRemoved(int, int)` > If you want your animations to work, do not rely on calling `NotifyDataSetChanged()`; > as it is the RecyclerView's default behavior, animations are not triggered to start inside this method.