show

fun show(activity: Activity, gravatarQuickEditorParams: GravatarQuickEditorParams, authenticationMethod: AuthenticationMethod, updateHandler: UpdateHandler, onDismiss: (dismissReason: GravatarQuickEditorDismissReason) -> Unit = {})

Helper function to launch the Gravatar Quick Editor from the activity.

Parameters

activity

The activity to launch the Gravatar Quick Editor from.

gravatarQuickEditorParams

The parameters to configure the Quick Editor.

authenticationMethod

The method used for authentication with the Gravatar REST API.

updateHandler

The callback for the Quick Editor updates. Can be invoked multiple times while the Quick Editor is open.

onDismiss

The callback for the dismiss action containing GravatarQuickEditorDismissReason


fun show(fragment: Fragment, gravatarQuickEditorParams: GravatarQuickEditorParams, authenticationMethod: AuthenticationMethod, updateHandler: UpdateHandler, onDismiss: (dismissReason: GravatarQuickEditorDismissReason) -> Unit = {})

Helper function to launch the Gravatar Quick Editor from the fragment. Internally it uses * Activity.requireActivity() to get the activity.

Parameters

fragment

The fragment to launch the Gravatar Quick Editor from.

gravatarQuickEditorParams

The parameters to configure the Quick Editor.

authenticationMethod

The method used for authentication with the Gravatar REST API.

updateHandler

The callback for the Quick Editor updates. Can be invoked multiple times while the Quick Editor is open.

onDismiss

The callback for the dismiss action containing GravatarQuickEditorDismissReason


fun show(activity: Activity, gravatarQuickEditorParams: GravatarQuickEditorParams, authenticationMethod: AuthenticationMethod, onAvatarSelected: () -> Unit, onDismiss: (dismissReason: GravatarQuickEditorDismissReason) -> Unit = {})

Deprecated

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

Replace with

GravatarQuickEditor.show()

Helper function to launch the Gravatar Quick Editor from the activity.

Parameters

activity

The activity to launch the Gravatar Quick Editor from.

gravatarQuickEditorParams

The parameters to configure the Quick Editor.

authenticationMethod

The method used for authentication with the Gravatar REST API.

onAvatarSelected

The callback for the avatar update. Can be invoked multiple times while the Quick Editor is open.

onDismiss

The callback for the dismiss action containing GravatarQuickEditorDismissReason


fun show(fragment: Fragment, gravatarQuickEditorParams: GravatarQuickEditorParams, authenticationMethod: AuthenticationMethod, onAvatarSelected: () -> Unit, onDismiss: (dismissReason: GravatarQuickEditorDismissReason) -> Unit = {})

Deprecated

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

Replace with

GravatarQuickEditor.show()

Helper function to launch the Gravatar Quick Editor from the fragment. Internally it uses Activity.requireActivity() to get the activity.

Parameters

fragment

The fragment to launch the Gravatar Quick Editor from.

gravatarQuickEditorParams

The parameters to configure the Quick Editor.

authenticationMethod

The method used for authentication with the Gravatar REST API.

onAvatarSelected

The callback for the avatar update. Can be invoked multiple times while the Quick Editor is open.

onDismiss

The callback for the dismiss action containing GravatarQuickEditorDismissReason