From a99a657cc1b66533c940ece5e5bbecd9787363df Mon Sep 17 00:00:00 2001 From: "Daniele Verducci (Slimpenguin)" Date: Tue, 1 Feb 2022 13:05:59 +0100 Subject: [PATCH] Implemented camera deletion --- .../ojo/ui/adapters/SettingsRecyclerViewAdapter.java | 12 +++++++++++- app/src/main/res/drawable/ic_delete.xml | 10 ++++++++++ app/src/main/res/layout/fragment_settings_item.xml | 9 +++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_delete.xml diff --git a/app/src/main/java/it/danieleverducci/ojo/ui/adapters/SettingsRecyclerViewAdapter.java b/app/src/main/java/it/danieleverducci/ojo/ui/adapters/SettingsRecyclerViewAdapter.java index 7ffa2f3..e27bf46 100644 --- a/app/src/main/java/it/danieleverducci/ojo/ui/adapters/SettingsRecyclerViewAdapter.java +++ b/app/src/main/java/it/danieleverducci/ojo/ui/adapters/SettingsRecyclerViewAdapter.java @@ -53,7 +53,15 @@ public class SettingsRecyclerViewAdapter extends RecyclerView.Adapter + + diff --git a/app/src/main/res/layout/fragment_settings_item.xml b/app/src/main/res/layout/fragment_settings_item.xml index 81668e7..c3bb545 100644 --- a/app/src/main/res/layout/fragment_settings_item.xml +++ b/app/src/main/res/layout/fragment_settings_item.xml @@ -41,6 +41,15 @@ + +