We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public void setMenuItems(ArrayList<FABMenuItem> menuList) throws NullPointerException { this.menuList = menuList; mMenuRes = -1; mCustomView = null; if (menuList == null) throw new NullPointerException("Null items are not allowed."); removeAllViews(); if (menuList.size() > 0) { for (int i = 0; i < menuList.size(); i++) { FABMenuItem item = menuList.get(i); **item.setId(i);** if (item.getIconDrawable() == null && item.getIconBitmap() != null) { item.setIconDrawable(new BitmapDrawable(getResources(), item.getIconBitmap())); } } } setUpMenuView(); }
The text was updated successfully, but these errors were encountered:
@nowulus Hi, there is another method you need to use for custom menuids setUpMenu()
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: