You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to redraw the items so it can display which item is selected
I changed the addItems function from the library to reset the menuitems every time, so it won't be adding more and more items .
initarc is the function to add items and determine which item is selected so it will display a different icon
the problem is when i click an item, the main satellite is unclickable anymore
(no action when clicked)
but then if I press home and resume the app, then the items are displayed.
something is wrong when adding items from the itemclicklistener, because if i call initarc twice without the listener everything works fine.
Really need some help here!
Thanks.
The text was updated successfully, but these errors were encountered:
samigehi
added a commit
to samigehi/android-satellite-menu
that referenced
this issue
Apr 1, 2015
I want to redraw the items so it can display which item is selected
I changed the addItems function from the library to reset the menuitems every time, so it won't be adding more and more items .
This is my code
initarc(menu_x,"x");
menu_x.setOnItemClickedListener(new SateliteClickedListener() {
public void eventOccured(int argx) {
initarc(menu_x,"x");
}
});
initarc is the function to add items and determine which item is selected so it will display a different icon
the problem is when i click an item, the main satellite is unclickable anymore
(no action when clicked)
but then if I press home and resume the app, then the items are displayed.
something is wrong when adding items from the itemclicklistener, because if i call initarc twice without the listener everything works fine.
Really need some help here!
Thanks.
The text was updated successfully, but these errors were encountered: