{"id":22192573,"url":"https://github.com/3sidedcube/android-lightningui","last_synced_at":"2025-04-11T00:04:19.330Z","repository":{"id":21433231,"uuid":"24751424","full_name":"3sidedcube/Android-LightningUi","owner":"3sidedcube","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-05T13:14:50.000Z","size":16996,"stargazers_count":0,"open_issues_count":9,"forks_count":2,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-04-11T00:04:12.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3sidedcube.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-03T08:22:07.000Z","updated_at":"2021-11-25T16:58:14.000Z","dependencies_parsed_at":"2025-03-05T14:23:28.424Z","dependency_job_id":"2ae6774d-45a7-40ef-b2bd-ac2c4fc624d8","html_url":"https://github.com/3sidedcube/Android-LightningUi","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningUi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningUi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningUi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningUi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3sidedcube","download_url":"https://codeload.github.com/3sidedcube/Android-LightningUi/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317705,"owners_count":21083528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T12:26:35.882Z","updated_at":"2025-04-11T00:04:19.295Z","avatar_url":"https://github.com/3sidedcube.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Storm Library - Module UI\n\nStorm is a collection of libraries that helps make mobile and desktop applications easy to create using a high quality WYSIACATWYG editor.\n\nThis module's purpose is to take a structured collection of JSON files, parse them into POJO objects and render them to the UI using their respective corresponding views.\n\n#Usage\n\n##Gradle\n\nSimply include the following for your gradle dependencies `com.3sidedcube.storm:ui:0.2`.\n\n**Note** The versioning of the library will always be as follows:\n\n`Major version.Minor version.Bug fix`\n\nIt is safe to use `+` in part of of the `Bug fix` version, but do not trust it 100%. Always use a *specific* version to prevent regression errors.\n\n##Code\n\nIn your application singleton, add the following code\n\n```java\n\nUiSettings uiSettings = new UiSettings.Builder(this).build();\n\n// Loading app json\nString appUri = \"assets://app.json\";\nApp app = UiSettings.getInstance().getViewBuilder().buildApp(Uri.parse(appUri));\n\nif (app != null)\n{\n    UiSettings.getInstance().setApp(app);\n}\n```\n\nThen in your entry activity add the following code\n\n```java\nIntent start = UiSettings.getInstance().getIntentFactory().getIntentForPageUri(this, Uri.parse(UiSettings.getInstance().getApp().getVector()));\n\nif (start != null)\n{\n\tstartActivity(start);\n}\n```\n\nThis will use the `vector` string in your App.json to determine what page to load initially.\n\nThere are many options in the UiSettings object that allows you to override specific parts of the module.\n\n##Language\n\nIn order to support the use of the Language module, you must include the following code for your UiSettings Builder\n\n```java\n.textProcessor(new TextProcessor()\n{\n    @Nullable @Override public String process(@Nullable TextProperty textProperty)\n    {\n        return new LanguageTextProcessor().process(super.process(textProperty));\n    }\n})\n```\n\n#Documentation\n\nSee the [Javadoc](http://3sidedcube.github.io/Android-LightningUi/) for full in-depth code-level documentation\n\n#Contributors\n\n[Callum Taylor (9A8BAD)](http://keybase.io/scruffyfox), [Tim Mathews (5C4869)](https://keybase.io/timxyz), [Matt Allen (DB74F5)](https://keybase.io/mallen), [Alan Le Fournis (067EA0)](https://keybase.io/alan3sc)\n\n#License\n\nSee LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3sidedcube%2Fandroid-lightningui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3sidedcube%2Fandroid-lightningui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3sidedcube%2Fandroid-lightningui/lists"}