xcustomlistview 1.7 error deleting last item

  1. T

    B4J Question xcustomlistview 1.7, error deleting last item

    i got the following error when i delete the last item in a xcustolistview My code is Sub imvCerrar_MouseClicked (EventData As MouseEvent) 'Dim xyz As B4XView = Sender Dim Index As Int = clv1.GetItemFromView(Sender) Log("index: " & Index) clv1.RemoveAt(Index) If...