Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Go to Next Page from The signature Pad. The App Crush #168

Open
Nahomna opened this issue Mar 8, 2022 · 3 comments
Open

Cannot Go to Next Page from The signature Pad. The App Crush #168

Nahomna opened this issue Mar 8, 2022 · 3 comments

Comments

@Nahomna
Copy link

Nahomna commented Mar 8, 2022

No description provided.

@makam92
Copy link

makam92 commented Apr 29, 2022

For me this fixed the issue with crashing when going to next activity

class FSignaturePad(context: Context, attrs: AttributeSet) : SignaturePad(context, attrs) {
    override fun onSaveInstanceState(): Parcelable? {
        super.onSaveInstanceState()
        return null
    }

    override fun onRestoreInstanceState(state: Parcelable?) {
        super.onRestoreInstanceState(state)
    }
}

@connyhald
Copy link

connyhald commented Jul 5, 2022

Duplicate of #153

@gustavocnp95
Copy link

We just created a fork and published with the fix keeping the state saving. For use it you should:

Set jitpack.io url on your project's build.gradle

allprojects {
    repositories {
        google()
        maven { url "https://jitpack.io" }
   }
}

and then, add into your depedencies this:

implementation 'com.github.prologapp:android-signaturepad:1.0.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants