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