defaultFormatter

fun defaultFormatter(context: Context, @StringRes fallback: Int = R.string.stream_ui_channel_list_untitled_channel, maxMembers: Int = 2): ChannelNameFormatter

Builds the default channel name formatter.

Parameters

context

The context used to load string resources.

fallback

The resource identifier of a fallback string.

maxMembers

The maximum number of members used to generate a name for a distinct channel.

See also