aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/ObservableMapAdapter.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-07Bindings: Move to a separate packageSamuel Holland1-112/+0
These are really app-independent reusable classes. Moving them to a separate package helps avoid polluting the main app package, and makes them easier to upgrade. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-22Add an adapter for binding an ObservableList to a LinearLayoutSamuel Holland1-2/+2
EditTexts do not work in ListViews. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-18ObservableAdapters: notify on map/list being setSamuel Holland1-0/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-17MapAdapter: Stable IDs are based on value, not keySamuel Holland1-1/+1
This fixes list selection to survive renaming configurations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-17ObservableMapAdapter: Based on an observable TreeMapSamuel Holland1-19/+38
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-13Major renaming and refactoring in activity and serviceSamuel Holland1-11/+19
Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-07ObservableArrayMapAdapter: Copy ObservableListAdapterSamuel Holland1-0/+84
Since the conversion to a sequential list (to implement ListAdapter) depends on the implementation detail that ObservableArrayMap is backed by an array, we can't use the ObservableMap interface here. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>