Registering uncategorized filter

Filters API is a complete library.

You can register an uncategorized filter for the tab. All items in the tab which not belong to any filter will be categorized to it.

A tab can have a single uncategorized filter only. If there are no other filters or no items are uncategorized, this filter will not appear on the screen.

Call FilterBuilder.registerUncategorizedItemsFilter(ItemGroup) to register the uncategorized filter.

Filter FILTER = FilterBuilder.registerUncategorizedItemsFilter(CREATIVE_MODE_TAB);

See also

The javadoc (1.16~1.19.4)

Last updated

Was this helpful?