{"id":21858140,"url":"https://github.com/cesarferreira/faker","last_synced_at":"2025-07-07T18:32:52.428Z","repository":{"id":147187450,"uuid":"124312684","full_name":"cesarferreira/faker","owner":"cesarferreira","description":"A kotlin extension to load images asynchronously on android","archived":false,"fork":false,"pushed_at":"2019-11-11T14:04:52.000Z","size":2223,"stargazers_count":58,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T18:59:23.244Z","etag":null,"topics":["android","image","kotlin","loader","picasso"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cesarferreira.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,"zenodo":null}},"created_at":"2018-03-08T00:28:54.000Z","updated_at":"2023-10-09T14:22:33.000Z","dependencies_parsed_at":"2023-07-09T15:01:50.504Z","dependency_job_id":null,"html_url":"https://github.com/cesarferreira/faker","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/cesarferreira/faker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Ffaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Ffaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Ffaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Ffaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cesarferreira","download_url":"https://codeload.github.com/cesarferreira/faker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Ffaker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264130499,"owners_count":23562038,"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":["android","image","kotlin","loader","picasso"],"created_at":"2024-11-28T02:43:06.293Z","updated_at":"2025-07-07T18:32:52.423Z","avatar_url":"https://github.com/cesarferreira.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"extras/ss9.png\" /\u003e\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eFaker\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eA \u003cb\u003ekotlin extension\u003c/b\u003e to \u003cb\u003eload images asynchronously\u003c/b\u003e on \u003cb\u003eandroid\u003c/b\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://www.android.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/platform-Android-brightgreen.svg?style=flat-square\" alt=\"Platform\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://android-arsenal.com/api?level=16\"\u003e\u003cimg src=\"https://img.shields.io/badge/API-16%2B-blue.svg?style=flat-square\" alt=\"API\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-red.svg?style=flat-square\" alt=\"License: MIT\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://jitpack.io/#cesarferreira/faker\"\u003e\u003cimg src=\"https://jitpack.io/v/cesarferreira/faker.svg\" alt=\"License: MIT\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Features\n\n- Load random images asynchronously into any `ImageView`\n- Load a random image that fits perfectly the size of that `imageView`\n- Load any image by passing a simple url into it\n- Perfect for image placeholders to jump start a project\n\n# Install\nJust add the following dependency in your app's `build.gradle`\n\n```groovy\nallprojects { repositories { maven { url 'https://jitpack.io' } }}\n```\n\n```groovy\ndependencies {\n      implementation 'com.github.cesarferreira:faker:x.x.x'\n}\n```\n\nor use [drone](https://github.com/cesarferreira/drone):\n\n\u003e drone add faker app-module\n\n# Examples\nHere are some examples to provide you a head start with using this library.\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"extras/code.png\" /\u003e\u003c/div\u003e\n\n\n\u003cb\u003e`.loadRandomImage()`\u003c/b\u003e\n\n```kotlin\nimageView.loadRandomImage()\n```\n\n\u003cb\u003e`.loadFromUrl(url: String)`\u003c/b\u003e\n\n```kotlin\nimageView.loadFromUrl(\"http://sample.com/image.png\")\n```\n\n\u003cb\u003e`.loadFromUrl(url: String, placeholder: Int, error: Int)`\u003c/b\u003e\n\n```kotlin\nimageView.loadFromUrl(\"http://sample.com/image.png\", R.color.placeholder, R.color.error)\n```\n\n\u003cb\u003e`.loadFromUrl(url: String, placeholder: Drawable, error: Drawable)`\u003c/b\u003e\n\n```kotlin\nimageView.loadFromUrl(\"http://sample.com/image.png\", R.drawable.placeholder, R.drawable.error)\n```\n\n# License\nLicensed under `MIT license`. View [license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarferreira%2Ffaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesarferreira%2Ffaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarferreira%2Ffaker/lists"}