Conversation
update dev
Moved edit and edit mode logic from MainActivity to a new AndroidEditController class, which extends a new abstract EditController in the core module. Updated MainActivity and AndroidFileManager to use the new controller, improving separation of concerns and maintainability.
updated list item for object and array
Simplified AndroidManifest intent filter for VIEW action by removing multiple pathPattern and host entries, and adding file scheme support.
adjust intent filters
Ensure drag-and-drop permissions are released only after a dropped file is finished being read.
Introduce remote app-info fetching and local state to notify users of new versions. Adds AppInfo model and extends AppState with lastCheckForUpdate, hasNewVersion, newVersionCode and newVersionName (with accessors and toString). MainActivity now includes checkHasNewVersion() which rate-limits checks (once per 86400s), fetches AboutActivity.APP_INFO_URL, parses AppInfo, updates persistent state, and updates the menu/about button UI to indicate an update. AboutActivity receives APP_INFO_URL and a checkNewVersion() to show a new-version banner in the About screen. Layout and resources updated: activity_about.xml gains a newVersionAvailable view and strings.xml adds new_version_available. Minor import and formatting updates applied.
Extract inline update-check logic from MainActivity into WebManager.checkHasNewVersion. Adds a CheckNewVersionCallback (saveState/updateUI)
Update AboutActivity to point the GITHUB_REPOSITORY_RELEASES constant to the SJ14Apps repository (https://github.com/SJ14Apps/JsonList/releases) instead of the old SlaVcE14 URL
Notify new version available
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.