Closed charlesfranciscodev closed 8 years ago
In other words, where should I call
listview.setEnabled(false);
to disable the listview when the panel is in closed position (balloon screen)
and this
listview.setEnabled(true);
to enable the listview when the panel is in open position (stars screen)
It works in closePane() for disabling but not in openPane().
Where should I disable the listview ? In other words, which function is called when the panel is opened to show the stars screen with the lsit view ?
I have tried to implement the function you required but I failed. First of all, setEnabled() will cause UI change such as drawable state changed, if call setEnabled(false) when menu is invisible, it may cause some ui issue. And I can not decide whether to pass touch event to the menu or not because click event is a view internal function, I have to implement the whole click event detect system. There is two suggestion:
Thanks for the help.
When I click on the hidden list view items on the balloon screen, a toast is shown with the menu number that was selected. How can I disable click/touch events on the overlaying screen ?