summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/layout/tv_activity.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-09-22 15:31:02 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-22 23:53:37 +0200
commit382e10e1035466e09faa53816d12587d576f7d5c (patch)
treedf0256f4452bca4dd5e7bed70c317876361ec0a8 /ui/src/main/res/layout/tv_activity.xml
parentdc002d77fa514eb6526516f23beb7093654c23db (diff)
tv: wire up tunnel start/stop
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res/layout/tv_activity.xml')
-rw-r--r--ui/src/main/res/layout/tv_activity.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/main/res/layout/tv_activity.xml b/ui/src/main/res/layout/tv_activity.xml
index 33f13a17..4ca5f839 100644
--- a/ui/src/main/res/layout/tv_activity.xml
+++ b/ui/src/main/res/layout/tv_activity.xml
@@ -10,6 +10,10 @@
<variable
name="tunnels"
type="com.wireguard.android.databinding.ObservableKeyedArrayList&lt;String, ObservableTunnel&gt;" />
+
+ <variable
+ name="rowConfigurationHandler"
+ type="com.wireguard.android.databinding.ObservableKeyedRecyclerViewAdapter.RowConfigurationHandler" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout
@@ -22,6 +26,7 @@
android:layout_height="match_parent"
android:layout_marginTop="16dp"
android:orientation="horizontal"
+ app:configurationHandler="@{rowConfigurationHandler}"
app:items="@{tunnels}"
app:layout="@{@layout/tv_tunnel_list_item}"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"