Fix for exception
This commit is contained in:
parent
9e2a653549
commit
a3d786b191
@ -244,6 +244,9 @@ public class PreferencesFragment extends org.solovyev.android.material.preferenc
|
|||||||
if (!supportsHeaders()) {
|
if (!supportsHeaders()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (getView() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final ListView listView = getListView();
|
final ListView listView = getListView();
|
||||||
if (show) {
|
if (show) {
|
||||||
|
Loading…
Reference in New Issue
Block a user