chore(android): `KMManager.getLexicalModelInfo()` should return `LexicalModel` instead of hashmap
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
Currently `KeyboardPickerActivity.getLexicalModelInfo()` and `KMManager.getLexicalModelInfo()` return a hashmap with key/value pairs. We should improve that to return a `LexicalModel` type.
A similar change was made for keyboards in Keyman 14.
Should also update the documentation in `android/docs/engine/KMManager/getLexicalModelInfo.md`.
Contributor guide
Research direction
Start with KeyboardPickerActivity.getLexicalModelInfo() and KMManager.getLexicalModelInfo(), then inspect the similar keyboard change made in Keyman 14. Update android/docs/engine/KMManager/getLexicalModelInfo.md alongside the API change. Done means both methods return LexicalModel rather than a hashmap and the documentation matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100