Hi,

Inside my app I use this component and so far I had no problems. Suddenly 
it only works when a record is pressed for a long time. The truth I have 
not made changes on this part of the code and I do not understand what 
happened until Monday worked well. Out of curiosity validate the date of 
the last update of the plugin codename one and found that it was on Tuesday 
at 10 pm (in my country).

As a discard change the logic (as shown in the code) denying the condition 
(isLongEvent) to do the opposite and the correct methods were executed 
without problems.

        lsLista.addActionListener((ActionListener) (ActionEvent ae) -> {
       *     if (!ae.isLongEvent()) {*
                if (tipo.equals(COMPRA)) {
                    formaProcesarListaCompras(fmLiber, lsLista);
                } else {
                    formaDecideListaDeseos(fmLiber, lsLista);
                }
            } else {
                if (tipo.equals(COMPRA)) {
                    Compra1 cR1 = (Compra1) 
lsLista.getModel().getItemAt(lsLista.getModel().getSelectedIndex());
                    ArrayList aCompra2 = 
corrigeCompra2(dT.leeArrayListDatos(cR1.getCompra(), 
COMPRA2_LEE_FILTRO_COMPRA));
                    formaListaDeseosListaCompra2(fmLiber, cR1, aCompra2, 
COMPRA);
                } else {
                    Compra1 cR1 = (Compra1) 
lsLista.getModel().getItemAt(lsLista.getModel().getSelectedIndex());
                    ArrayList aLista2 = 
corrigeLista2(dT.leeArrayListDatos(cR1.getCompra(), 
LISTA2_LEE_FILTRO_LISTA));
                    formaListaDeseosListaCompra2(fmLiber, cR1, aLista2, 
LISTA);
                }
            }
        });

Given that I can not find the problem, I dare to ask if within the last 
update there was a change that affects this component?

regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1ad0adcf-0c4f-487b-8da6-225eb820aae6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to