java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.gordonwong.materialsheetfab.MaterialSheetFab.isSheetVisible()' on a null object reference
@Override
public void onBackPressed() {
if (materialSheetFab.isSheetVisible()) {
materialSheetFab.hideSheet();
} else {
super.onBackPressed();
}
}
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.gordonwong.materialsheetfab.MaterialSheetFab.isSheetVisible()' on a null object reference
Sorry, I found a problem. 😄