From b001f59fcbc30112ce04891fbca4c1365b457813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Thu, 10 Oct 2013 21:12:32 +0200 Subject: 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. --- src/se/leap/bitmaskclient/ProviderListFragment.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/se/leap/bitmaskclient/ProviderListFragment.java') 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. -- cgit v1.2.3