getOrCreateBadge

Creates an instance of BadgeDrawable if none exists. Initializes (if needed) and returns the associated instance of BadgeDrawable.

Return

an instance of BadgeDrawable associated with Tab.