I wrote similar to the sample code. But when I run, I get this error.
java.lang.RuntimeException: ...com.zhihu.matisse.ui.MatisseActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.appcompat.app.ActionBar.setDisplayShowTitleEnabled(boolean)' on a null object reference
I wrote similar to the sample code. But when I run, I get this error.
java.lang.RuntimeException: ...com.zhihu.matisse.ui.MatisseActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.appcompat.app.ActionBar.setDisplayShowTitleEnabled(boolean)' on a null object reference
`