summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/ProviderListFragment.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-10-10 21:12:32 +0200
committerParménides GV <parmegv@sdf.org>2013-12-10 18:08:52 +0100
commit3c1a4d2da2531b510fd01f921093f8c007bb4d5a (patch)
treef617cce816dc27bb7e02baecddf2895d36bda3ec /src/se/leap/bitmaskclient/ProviderListFragment.java
parent50ad1c04cee7fe3409a1c2958d4dba98882cd45d (diff)
Simplified the methods to add a new provider.
Adding a new provider is the same that selecting a new one, using the same methods and following the same workflow.
Diffstat (limited to 'src/se/leap/bitmaskclient/ProviderListFragment.java')
-rw-r--r--src/se/leap/bitmaskclient/ProviderListFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/ProviderListFragment.java b/src/se/leap/bitmaskclient/ProviderListFragment.java
index ca66d295..62dcef7a 100644
--- a/src/se/leap/bitmaskclient/ProviderListFragment.java
+++ b/src/se/leap/bitmaskclient/ProviderListFragment.java
@@ -172,6 +172,9 @@ public class ProviderListFragment extends ListFragment {
}
}
+ public void notifyAdapter() {
+ content_adapter.notifyDataSetChanged();
+ }
/**
* Turns on activate-on-click mode. When this mode is on, list items will be
* given the 'activated' state when touched.