material-components/material-components-android-motion-codelab

MenuBottomSheetDialogFragment runtime exception

khpproud opened this issue · 1 comments

This Fragment has not the default constructor, so when config-changes occur, the exception is caused.

/com.materialstudies.reply E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.materialstudies.reply, PID: 18131
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.materialstudies.reply/com.materialstudies.reply.ui.MainActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.materialstudies.reply.ui.MenuBottomSheetDialogFragment: could not find Fragment constructor

Thank you for reporting this issue! I'll look into this