findItemById

Finds a menu item by its ID.

Return

The menu item if found, or {@code null} otherwise.

Parameters

id

The resource ID of the menu item to find.