Remove/Hide QuickActionGrid

31 Views Asked by At

I create grid in my function like that:

grid.addQuickAction(
         new QuickAction(
                 context.getActivity(),
                 themeService,
                 R.string.msg,
                 12));
grid.addQuickAction(
         new QuickAction(
                 context.getActivity(),
                 themeService,
                 R.string.msg2,
                 13));

where grid is QuickActionGrid grid = new QuickActionGrid(context);and I gets it as parameter, now I need to hide or remove the first one. The only solution I've found is grid.getQuickAction(0).setEnabled(false); but it is still there, only I cannot click on it. So how can I hide or remove the first element from grid? I cannot change class it has to beQuickActionGrid

0

There are 0 best solutions below