feat crashlytics refs #6810
This commit is contained in:
parent
53b81e42be
commit
08c3d2d4fb
|
@ -103,9 +103,10 @@ class ParkingFragment(var menuOrigin: String) :
|
||||||
override fun onBarcodeRowClickListener(item: BarcodeVO) {
|
override fun onBarcodeRowClickListener(item: BarcodeVO) {
|
||||||
try {
|
try {
|
||||||
val position = scanerList.indexOf(item)
|
val position = scanerList.indexOf(item)
|
||||||
|
println("parking $position")
|
||||||
if (position != -1) {
|
if (position != -1) {
|
||||||
scanerList.removeAt(position)
|
scanerList.removeAt(position)
|
||||||
adapter!!.notifyItemRemoved(position)
|
adapter!!.notifyItemRangeChanged(position,scanerList.size-position+1)
|
||||||
}
|
}
|
||||||
} catch (ex: Exception) {
|
} catch (ex: Exception) {
|
||||||
ex.message.toString().toast(requireContext())
|
ex.message.toString().toast(requireContext())
|
||||||
|
|
Loading…
Reference in New Issue