Companion

object Companion

Functions

Link copied to clipboard
fun dismiss(fragmentManager: FragmentManager)

Dismisses any previously shown signature picker fragment.

Link copied to clipboard
fun restore(fragmentManager: FragmentManager, listener: OnSignaturePickedListener?, signatureStorage: SignatureStorage? = null)

Restores any previously shown SignaturePickerFragment by re-attaching a [ ]. Use this inside your activity's method to reattach any listener and signature storage if necessary (for example after a configuration change). If no fragment was shown, calling this method will be a no-op.

Link copied to clipboard
fun show(fragmentManager: FragmentManager, listener: OnSignaturePickedListener?, signatureOptions: SignatureOptions? = null, signatureStorage: SignatureStorage? = null)

Shows the SignaturePickerFragment. The fragment will be presented to the user as a dialog.