Skip to content

UserPreferencesBottomSheetDialogFragment does not survive configuration changes #446

Closed
@LubomirGanchev

Description

@LubomirGanchev

Describe the bug

Test app crash when device is rotated while the user settings bottom sheet dialog is opened.

How to reproduce?

  1. Open book
  2. Open user settings bottom sheet
  3. Rotate the device

Readium version

2.4.0

Android API version

33

Additional context

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.readium.r2reader/org.readium.r2.testapp.reader.ReaderActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment org.readium.r2.testapp.reader.preferences.UserPreferencesBottomSheetDialogFragment: could not find Fragment constructor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions