I have 2 functions, one that load the header in a customlistview, and other that load the detail, the header loads well, however, when try to create the items for the detail, i got that my CLV is a null object, and the app crashes. How can the CLV got to be null if the activity es not finish?
This is the call that works
And this crashes, saying that the CLV is a null object, I don't get it
This is the call that works
B4X:
pedidosDetalleTarjeta.Add(CreateItemPedidoCab(pedidosDetalleTarjeta.AsView.Width,Main.idpedido,nombre_cliente.Text,direccion.Text,estado.Text,fecha_pedido.Text),"")
And this crashes, saying that the CLV is a null object, I don't get it
B4X:
pedidosDetalleTarjeta.Add(CreateItemPedidoDet(pedidosDetalleTarjeta.AsView.Width,Main.idpedido,nroEntrega,distest,direccionPedidoDet,zonaDet,estadoPedidoDet,recorrido,observacion),"")