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
List resideMenuItemList = new ArrayList();
for (int index = 0; index < titles.length; index++){
ResideMenuItem menuObj = new ResideMenuItem(this, icon[index], titles[index]);
menuObj.setOnClickListener(this);
resideMenuItemList.add(menuObj);
}
resideMenu.setMenuItems(resideMenuItemList, ResideMenu.DIRECTION_LEFT);
so, my question is how to find which menu item click in onClick method.
Hello sir,
here i set menu item using below code.
List resideMenuItemList = new ArrayList();
for (int index = 0; index < titles.length; index++){
ResideMenuItem menuObj = new ResideMenuItem(this, icon[index], titles[index]);
menuObj.setOnClickListener(this);
resideMenuItemList.add(menuObj);
}
resideMenu.setMenuItems(resideMenuItemList, ResideMenu.DIRECTION_LEFT);
so, my question is how to find which menu item click in onClick method.
@OverRide
public void onClick(View view) {
The text was updated successfully, but these errors were encountered: