Convert the list of tunnels to a KeyedObservableList
Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
@@ -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<String, Tunnel>" />
|
||||
</data>
|
||||
|
||||
<com.commonsware.cwac.crossport.design.widget.CoordinatorLayout
|
||||
|
||||
@@ -4,11 +4,13 @@
|
||||
|
||||
<data>
|
||||
|
||||
<import type="com.wireguard.android.model.Tunnel" />
|
||||
|
||||
<import type="com.wireguard.android.model.Tunnel.State" />
|
||||
|
||||
<variable
|
||||
name="collection"
|
||||
type="com.wireguard.android.model.TunnelCollection" />
|
||||
type="com.wireguard.android.util.KeyedObservableList<String, Tunnel>" />
|
||||
|
||||
<variable
|
||||
name="key"
|
||||
|
||||
Reference in New Issue
Block a user