{"id":24069536,"url":"https://github.com/omega-r/omegatypes","last_synced_at":"2025-04-24T06:29:41.355Z","repository":{"id":45979557,"uuid":"138722791","full_name":"Omega-R/OmegaTypes","owner":"Omega-R","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-08T15:41:07.000Z","size":750,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T07:41:24.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Omega-R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-26T10:31:13.000Z","updated_at":"2024-08-08T15:40:08.000Z","dependencies_parsed_at":"2023-12-01T12:09:42.128Z","dependency_job_id":"ff20ba25-47d5-47ae-a1e7-09e0d50621dc","html_url":"https://github.com/Omega-R/OmegaTypes","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaTypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaTypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaTypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaTypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Omega-R","download_url":"https://codeload.github.com/Omega-R/OmegaTypes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250577120,"owners_count":21453073,"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":"2025-01-09T14:58:10.862Z","updated_at":"2025-04-24T06:29:41.331Z","avatar_url":"https://github.com/Omega-R.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://jitpack.io/v/Omega-R/OmegaTypes.svg)](https://jitpack.io/#Omega-R/OmegaTypes)\n[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT)\n\n# OmegaTypes\nOmegaTypes it's cover for:  \n1) String and @StringRes. \nYou can create Text class inside your presenter or somewhere else, and set it in activity. Activity doesn't need to know what type \nof resource you use.\n2) Drawable, Bitmap, @DrawableRes. Class Image has the similar idea with Text class.\n\n# Installation\nTo get a Git project into your build:\n\n**Step 1.** Add the JitPack repository to your build file\n```\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n**Step 2.** Add the dependency\n```\ndependencies {\n    implementation 'com.github.Omega-R.OmegaTypes:omegatypes:1.0.0'\n    // implementation 'com.github.Omega-R.OmegaTypes:picasso:1.0.0' // for load url\n}\n```\n\n# Usage\n\n```\nval text = Text.from(R.string.hello_world)\ntext.applyTo(exampleTextView) // or textView.setText(text)\n        \nval image = Image.from(R.mipmap.ic_launcher)\nimage.applyTo(imageView) // or imageView.setImage(image)\n\n```\n\n# License\n```\nThe MIT License\n\nCopyright 2018 Omega-R\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and \nassociated documentation files (the \"Software\"), to deal in the Software without restriction, \nincluding without limitation the rights to use, copy, modify, merge, publish, distribute, \nsublicense, and/or sell copies of the Software, and to permit persons to whom the Software is \nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT \nLIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. \nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, \nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE \nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomega-r%2Fomegatypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomega-r%2Fomegatypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomega-r%2Fomegatypes/lists"}