Refresh adapter on resume

This commit is contained in:
M66B 2016-02-04 14:06:33 +01:00
parent 57481d9005
commit be214bd9f2
1 changed files with 2 additions and 0 deletions

View File

@ -298,6 +298,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
@Override
protected void onResume() {
dh.addAccessChangedListener(accessChangedListener);
if (adapter != null)
adapter.notifyDataSetChanged();
super.onResume();
}