You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an activity with ViewPager with fragments.
In one of the fragments we have a SignaturePad.
The signature pad become null after rotation.
Despite that the user signature stays on screen.
The text was updated successfully, but these errors were encountered:
when you rotate the screen, the fragment is destroyed and needs to be recreated. We have code to store the internal state of the signature pad in the memory. Could you please be more specific on "the signature pad become null"?
For sure the save and restore instance is not working correctly. Svg data are lost. After restoring the method getSignatureSvg() does returns an empty SVG.
What about to save and restore the svg data and redraw on the canvas (bitmap) from the svg data?
We have an activity with ViewPager with fragments.
In one of the fragments we have a SignaturePad.
The signature pad become null after rotation.
Despite that the user signature stays on screen.
The text was updated successfully, but these errors were encountered: