Commit graph

1447 commits

Author SHA1 Message Date
jahorton
63c7ce6c64 Merge branch 'android-settings-ui-rework' into android-picker-rework 2019-06-25 13:01:49 +07:00
jahorton
f2758f9e70 Merge branch 'android-resource-adapters' into android-settings-ui-rework 2019-06-25 13:01:22 +07:00
jahorton
e6bb8d018f Merge branch 'master' into android-resource-adapters 2019-06-25 13:00:51 +07:00
jahorton
bebb8e4503 Gets keyboard + model updates working in Settings. 2019-06-25 12:59:23 +07:00
jahorton
95b5980915 CloudRepository now detects potential updates. 2019-06-24 13:34:22 +07:00
jahorton
2abd43d714 Polish + addresses PR review. 2019-06-24 08:59:20 +07:00
jahorton
4db097f903 Basic transplant of keyboard update code. 2019-06-24 08:58:42 +07:00
jahorton
1cb90dcb9e Rips out the keyboard picker's "add" button. 2019-06-24 08:58:41 +07:00
jahorton
f71aea1c59 Polish + addresses PR review. 2019-06-24 08:57:36 +07:00
jahorton
89e1f53a2b Ugly hack to avoid large-ish last-minute refactor. 2019-06-20 08:43:45 +07:00
jahorton
bbf36c272d Fixes the KeyboardPickerAdapter. 2019-06-19 13:33:29 +07:00
jahorton
d481432fe0 Removes the now-defunct KMListAdapter. 2019-06-19 10:53:08 +07:00
jahorton
2168eb5ad8 A round of polish for good measure. 2019-06-19 10:44:51 +07:00
jahorton
758f56e509 UI update bug fixed - bad notify from async thread 2019-06-19 10:05:44 +07:00
jahorton
fd3336adb6 Minor tweak to last commit. 2019-06-19 09:47:20 +07:00
jahorton
873d87b629 Retools the LanguagesSettingsActivity. 2019-06-19 09:00:12 +07:00
jahorton
717d120382 Cleans out now-legacy code after last commit 2019-06-17 13:20:04 +07:00
jahorton
7b3a9d4f33 Reworks LanguageListActivity to use new structures 2019-06-17 13:02:30 +07:00
jahorton
2e107825a8 Language settings screen refinement 2019-06-17 11:53:34 +07:00
jahorton
4ce013f4d5 Language Settings now uses local-storage Dataset 2019-06-14 08:52:06 +07:00
jahorton
e5a4ec7485 Language-specific keyboard downloader wired up! 2019-06-14 08:30:54 +07:00
jahorton
fcf1a523f2 Reworks KeyboardListActivity with new setup 2019-06-13 10:33:57 +07:00
jahorton
f28147ffb0 Corrected lexical model query + caching 2019-06-12 16:08:05 +07:00
jahorton
9629739c84 Infrastructure to handle repo item caching 2019-06-12 13:52:02 +07:00
jahorton
b22520ecc4 Connects ModelPickerActivity and CloudRepository 2019-06-11 12:28:32 +07:00
jahorton
690ba23a8d Minor cleanup before proceeding. 2019-06-11 12:17:38 +07:00
jahorton
97c5526fb9 Roots out bad entangled adapter setup. 2019-06-11 10:27:38 +07:00
jahorton
2ebd3dbaa2 Partially addressing performance issues 2019-06-11 09:47:49 +07:00
jahorton
2843672e07 Rework of AdapterFilter, but no optimization yet 2019-06-10 13:13:14 +07:00
jahorton
45f81a15ef Initial use of keyboards in CloudRepository obj 2019-06-10 13:12:59 +07:00
jahorton
9b69b09790 Lexical model checkbox management 2019-06-07 13:47:22 +07:00
jahorton
6131932399 Tweaks image resource management. 2019-06-07 13:22:18 +07:00
jahorton
8e600e2270 Fixes bugs + refines Lexical settings menu 2019-06-07 12:51:20 +07:00
jahorton
3498dd7c3f Temp stabilization for lexical model settings view 2019-06-07 08:56:11 +07:00
jahorton
d0589d0cef Successful caching of lex model API JSON 2019-06-06 10:30:55 +07:00
jahorton
f79f6169f4 Prep for handling multiple API calls. 2019-06-06 09:45:21 +07:00
jahorton
fb30e0ffa0 Initial use of new CloudRepository class. 2019-06-06 09:03:36 +07:00
Marc Durdin
42dec63040 mtest 2019-06-05 15:05:12 +10:00
jahorton
3166cfa876 Fleshes out the adapters much more. 2019-06-04 12:30:40 +07:00
jahorton
409745201b Consistency in adapter names 2019-05-31 09:50:41 +07:00
jahorton
e00e094983 NestedAdapter memory leak prevention 2019-05-31 08:59:56 +07:00
jahorton
0986555ea6 Proves NestedAdapter concept is viable. 2019-05-30 12:24:09 +07:00
jahorton
916ba3fd3e Adds significant adapter resources. 2019-05-30 10:01:25 +07:00
jahorton
5841171681 Start of Adapter refactoring + data mgmt rework. 2019-05-29 14:20:13 +07:00
Darcy Wong
2a06473125 More misc cleanup
* Default keyboard doesn't have "custom keyboard" setting so read it as optional parameter
* Don't notify "KEYBOARD_DOWNLOAD_FINISHED" when only downloading lexical model
* Removed registration of lexical model upon download (complications with async task)
2019-05-24 16:05:45 +07:00
Darcy Wong
029528c896 Don't register lexical model from "Model Picker Activity"
The activity is a background activity so it can't change the WebView height when registering the model
2019-05-24 12:59:37 +07:00
Darcy Wong
4315eca134 Register associated lexical model after adding it
Also fix deleteLexicalModel to not use modelKey
(Sencoten key has mix of `-` and `_` in the language ID and model ID)
2019-05-24 11:38:14 +07:00
Darcy Wong
56982bde4e Add two more fixes
* Fix determination of custom keyboard from package
* Add Toast notification when re-installing a lexical model.
2019-05-24 08:18:54 +07:00
Darcy Wong
a19db98e78 Merge remote-tracking branch 'origin/master' into android-download-model 2019-05-23 15:10:22 +07:00
Darcy Wong
1b87308eae Allow pre-existing models to be re-installed 2019-05-23 15:09:03 +07:00