mirror of https://github.com/M66B/NetGuard.git
Refresh adapter on resume
This commit is contained in:
parent
57481d9005
commit
be214bd9f2
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue