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) ---