aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/layout/tunnel_list_fragment.xml
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-06 04:04:42 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-06 04:09:30 -0600
commit7434587b62a74c0d85a1e5204b38040dc9e992eb (patch)
treec89495b5eeaaa381aa292ed150420cb533495085 /app/src/main/res/layout/tunnel_list_fragment.xml
parentdatabinding: Add an adapter for the KeyedObservableList (diff)
downloadwireguard-android-7434587b62a74c0d85a1e5204b38040dc9e992eb.tar.xz
wireguard-android-7434587b62a74c0d85a1e5204b38040dc9e992eb.zip
Convert the list of tunnels to a KeyedObservableList
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'app/src/main/res/layout/tunnel_list_fragment.xml')
-rw-r--r--app/src/main/res/layout/tunnel_list_fragment.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml
index e4923d54..fa489840 100644
--- a/app/src/main/res/layout/tunnel_list_fragment.xml
+++ b/app/src/main/res/layout/tunnel_list_fragment.xml
@@ -4,13 +4,15 @@
<data>
+ <import type="com.wireguard.android.model.Tunnel" />
+
<variable
name="fragment"
type="com.wireguard.android.fragment.TunnelListFragment" />
<variable
name="tunnels"
- type="com.wireguard.android.model.TunnelCollection" />
+ type="com.wireguard.android.util.KeyedObservableList&lt;String, Tunnel&gt;" />
</data>
<com.commonsware.cwac.crossport.design.widget.CoordinatorLayout