Package-level declarations

Types

Link copied to clipboard
sealed class UserProfileState

UserProfileState represents the state of a user profile loading. It can be in a Loading state or a Loaded state.

Functions

Link copied to clipboard
@Preview(uiMode = 16)
@Preview(uiMode = 32)
fun DisplayNamePreview()
Link copied to clipboard
fun LargeProfile(profile: UserProfile, modifier: Modifier = Modifier)

LargeProfile is a composable that displays a user's profile card. Given a UserProfile, it displays a LargeProfile using the other atomic components provided within the SDK.

fun LargeProfile(state: UserProfileState, modifier: Modifier = Modifier)

LargeProfile is a composable that displays a user's profile card. Given a UserProfileState, it displays a LargeProfile or the skeleton if it's in a loading state.

Link copied to clipboard
@Preview(uiMode = 16)
@Preview(uiMode = 32)
fun LargeProfileLoadingPreview()
Link copied to clipboard
fun LargeProfileSummary(profile: UserProfile, modifier: Modifier = Modifier)

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

fun LargeProfileSummary(state: UserProfileState, modifier: Modifier = Modifier)

LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a UserProfileState, it displays a LargeProfileSummary or the skeleton if it's in a loading state.

Link copied to clipboard
Link copied to clipboard
fun Profile(profile: UserProfile, modifier: Modifier = Modifier)

Profile is a composable that displays a user's profile card. Given a UserProfile, it displays a Profile using the other atomic components provided within the SDK.

fun Profile(state: UserProfileState, modifier: Modifier = Modifier)

Profile is a composable that displays a user's profile card. Given a UserProfileState, it displays a Profile or the skeleton if it's in a loading state.

Link copied to clipboard
fun ProfileSummary(profile: UserProfile, modifier: Modifier = Modifier)
fun ProfileSummary(state: UserProfileState, modifier: Modifier = Modifier)

ProfileSummary is a composable that displays a mini profile card. Given a UserProfile, it displays a mini profile card using the other atomic components provided within the SDK.