public final void setTitle ( @ NonNull final Context context , @ StringRes final int resourceId ) { Condition . INSTANCE . ensureNotNull ( context , "The context may not be null" ) ; setTitle ( context . getText ( resourceId ) ) ; }
Sets the title of the item .