Fix for exception

This commit is contained in:
serso 2016-03-19 19:05:26 +01:00
parent 9e2a653549
commit a3d786b191

View File

@ -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) {