From 08c3d2d4fbc094cb7611237b210abe3e9f2ac691 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Mon, 24 Jun 2024 16:06:34 +0200 Subject: [PATCH] feat crashlytics refs #6810 --- .../view/feature/parking/fragment/ParkingFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/parking/fragment/ParkingFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/parking/fragment/ParkingFragment.kt index 16b7a42d..37111cf0 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/parking/fragment/ParkingFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/parking/fragment/ParkingFragment.kt @@ -103,9 +103,10 @@ class ParkingFragment(var menuOrigin: String) : override fun onBarcodeRowClickListener(item: BarcodeVO) { try { val position = scanerList.indexOf(item) + println("parking $position") if (position != -1) { scanerList.removeAt(position) - adapter!!.notifyItemRemoved(position) + adapter!!.notifyItemRangeChanged(position,scanerList.size-position+1) } } catch (ex: Exception) { ex.message.toString().toast(requireContext())