From 5ad0bc63b1ad314366db70e3ba153b63f06ba9d8 Mon Sep 17 00:00:00 2001 From: Priyansh-Kedia Date: Sat, 24 Oct 2020 14:48:22 +0530 Subject: [PATCH] updated readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d3bcc2c..0167a20 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,14 @@ In a notes app, if you wish to delete the note from your database, after it is s adapter.removeItem(adapterPosition) } -[![rec-2020-10-24_00.08.27.gif](https://s8.gifyu.com/images/rec-2020-10-24_00.08.27.gif)](https://gifyu.com/image/8jlD) +> The third parameter is an optional parameter, for the Color integer, if the user wants a color in the background when the view is swiped out. This is how the user can pass the Color int as the parameter, `ContextCompat.getColor(this, R.color.colorAccent)` + +[![rec-2020-10-24_14.38.15.gif](https://s8.gifyu.com/images/rec-2020-10-24_14.38.15.gif)](https://gifyu.com/image/8FMg) + + +> The fourth parameter is an optional parameter, for the second Color integer, if the user wants two colors in the background, the user can pass both **Parameter 3 and Parameter 4**. + +[![rec-2020-10-24_14.43.59.gif](https://s8.gifyu.com/images/rec-2020-10-24_14.43.59.gif)](https://gifyu.com/image/8Fpk) ---