{"id":18735151,"url":"https://github.com/irontec/inkbasicmodels","last_synced_at":"2025-11-15T10:30:18.760Z","repository":{"id":142235198,"uuid":"202703235","full_name":"irontec/InkBasicModels","owner":"irontec","description":"Library to make easier to modify view parameters and make \"programmatic styles\".","archived":false,"fork":false,"pushed_at":"2021-06-04T11:26:51.000Z","size":159,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-31T04:53:53.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irontec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-08-16T09:52:38.000Z","updated_at":"2020-04-01T08:30:38.000Z","dependencies_parsed_at":"2023-04-14T04:55:44.366Z","dependency_job_id":null,"html_url":"https://github.com/irontec/InkBasicModels","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2FInkBasicModels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2FInkBasicModels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2FInkBasicModels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2FInkBasicModels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irontec","download_url":"https://codeload.github.com/irontec/InkBasicModels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239607529,"owners_count":19667431,"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-11-07T15:15:53.166Z","updated_at":"2025-11-15T10:30:18.711Z","avatar_url":"https://github.com/irontec.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InkBasicModels\n\n[![](https://jitpack.io/v/irontec/InkBasicModels.svg)](https://jitpack.io/#irontec/InkBasicModels)\n\n## Usage\n\nEdit some `LinearLayout` parameters:\n\n```kt\nfindViewById\u003cLinearLayout\u003e(R.id.linearlayout)?.applyModel(GeneralViewMdl(\n\tpaddingBottom = 16.dpToPx(),\n\tpaddingLeft = 16.dpToPx(),\n\tpaddingRight = 16.dpToPx(),\n\tpaddingTop = 16.dpToPx()\n))\n```\n\nEdit some `TextView` parameters:\n\n```kt\nfindViewById\u003cTextView\u003e(R.id.textview)?.applyModel(TextViewMdl(\n\ttextMdl = TextMdl(\n\t\ttext = InkSpannableBuilder().addText(\"Example text with some\").addBlank().addTextBold(\"bold\"),\n\t\ttextColorResId = R.color.colorAccent,\n\t\ttextSizeSp = 20f\n\t),\n\tgeneralViewMdl = GeneralViewMdl(\n\t\tonClick = { Toast.makeText(this, \"You clicked me!\", Toast.LENGTH_SHORT).show(); true},\n\t\tpaddingBottom = 16.dpToPx(),\n\t\tpaddingLeft = 16.dpToPx(),\n\t\tpaddingRight = 16.dpToPx(),\n\t\tpaddingTop = 16.dpToPx()\n\t)\n))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firontec%2Finkbasicmodels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firontec%2Finkbasicmodels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firontec%2Finkbasicmodels/lists"}