summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-12-04 18:42:06 +0100
committerParménides GV <parmegv@sdf.org>2014-12-04 18:42:06 +0100
commit202036aa6befcb1c74a76803f22e020404d4ba34 (patch)
tree0dc37594b19a47c760057fe525f8eec75f10a9c0 /app/src/main/java/se/leap
parentf9a200a7004b74cb2d64e37129e6234427c84c7d (diff)
Click on an item, no UI but functional.
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/Provider.java4
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/ProviderRenderer.java2
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/Provider.java b/app/src/main/java/se/leap/bitmaskclient/Provider.java
index 5dd54175..0d584310 100644
--- a/app/src/main/java/se/leap/bitmaskclient/Provider.java
+++ b/app/src/main/java/se/leap/bitmaskclient/Provider.java
@@ -102,6 +102,10 @@ public final class Provider implements Parcelable {
protected String getDomain(){
return main_url.getHost();
}
+
+ protected URL mainUrl() {
+ return main_url;
+ }
protected String getName(){
// Should we pass the locale in, or query the system here?
diff --git a/app/src/main/java/se/leap/bitmaskclient/ProviderRenderer.java b/app/src/main/java/se/leap/bitmaskclient/ProviderRenderer.java
index 2e376dee..6e194e84 100644
--- a/app/src/main/java/se/leap/bitmaskclient/ProviderRenderer.java
+++ b/app/src/main/java/se/leap/bitmaskclient/ProviderRenderer.java
@@ -11,6 +11,8 @@ import com.pedrogomez.renderers.Renderer;
import butterknife.ButterKnife;
import butterknife.InjectView;
+import butterknife.OnItemClick;
+import butterknife.OnItemSelected;
/**
* Created by parmegv on 4/12/14.