LargeProfileSummary

fun LargeProfileSummary(profile: Profile, modifier: Modifier = Modifier)

LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a Profile, it displays a LargeProfileSummary using the other atomic components provided within the SDK.

Parameters

profile

The user's profile information

modifier

Composable modifier


@JvmName(name = "LargeProfileWithComponentState")
fun LargeProfileSummary(state: ComponentState<Profile>, modifier: Modifier = Modifier, avatar: @Composable (state: ComponentState<Profile>) -> Unit = { profileState -> Avatar( state = profileState, size = 132.dp, modifier = Modifier.clip(CircleShape), ) }, viewProfile: @Composable (state: ComponentState<Profile>) -> Unit = { profileState -> ViewProfileButton( state = profileState, modifier = Modifier.padding(0.dp), inlineContent = null, ) })

LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a ComponentState for a Profile, it displays a LargeProfileSummary in the appropriate state.

Parameters

state

The user's profile state

modifier

Composable modifier

avatar

Composable to display the user avatar

viewProfile

Composable to display the view profile button


fun LargeProfileSummary(profile: Profile, modifier: Modifier = Modifier)

Deprecated

This class is deprecated and will be removed in a future release.

Replace with

com.gravatar.ui.components.LargeProfileSummary

LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a LegacyProfile, it displays a LargeProfileSummary using the atomic components provided within the SDK.

Parameters

profile

The user's profile information

modifier

Composable modifier


fun LargeProfileSummary(state: ComponentState<Profile>, modifier: Modifier = Modifier)

Deprecated

This class is deprecated and will be removed in a future release.

Replace with

com.gravatar.ui.components.LargeProfileSummary

LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a ComponentState for a LegacyProfile, it displays a LargeProfileSummary in the appropriate state.

Parameters

state

The user's profile state

modifier

Composable modifier