summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-07 19:55:11 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-07 19:55:11 -0500
commit457e73029441dda76c556700ace74eccf6511ac3 (patch)
treedc15b1f7bdbf699b196b319097c5aa9f55a6d934 /app/src/main/res/layout
parent05c239757d76ff86748165b8da6781f56af9e51d (diff)
ProfileService: Use a map to store profile data
This has no visible changes at the moment, but will allow most functions to pass around strings instead of Profile objects, obviating the need to implement serialization for them. It also trades some naive linear searches for the binary search in SimpleArrayMap.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/profile_list_fragment.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/res/layout/profile_list_fragment.xml b/app/src/main/res/layout/profile_list_fragment.xml
index 29ce62e7..c0edd444 100644
--- a/app/src/main/res/layout/profile_list_fragment.xml
+++ b/app/src/main/res/layout/profile_list_fragment.xml
@@ -6,7 +6,7 @@
<variable
name="profiles"
- type="android.databinding.ObservableList&lt;com.wireguard.config.Profile&gt;" />
+ type="android.databinding.ObservableArrayMap&lt;String, com.wireguard.config.Profile&gt;" />
</data>
<ListView