{"id":13644080,"url":"https://github.com/charbgr/litho-picasso","last_synced_at":"2025-04-21T06:32:57.205Z","repository":{"id":75119933,"uuid":"89287148","full_name":"charbgr/litho-picasso","owner":"charbgr","description":"Picasso image-loading Component for Litho","archived":false,"fork":false,"pushed_at":"2019-05-27T17:59:47.000Z","size":155,"stargazers_count":84,"open_issues_count":1,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-09T16:43:46.894Z","etag":null,"topics":["android","litho","picasso"],"latest_commit_sha":null,"homepage":"","language":"Java","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/charbgr.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}},"created_at":"2017-04-24T21:06:41.000Z","updated_at":"2023-12-12T12:38:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"63bcdbf5-9d7b-4dfb-bc9a-fee36bfdc46e","html_url":"https://github.com/charbgr/litho-picasso","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charbgr%2Flitho-picasso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charbgr%2Flitho-picasso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charbgr%2Flitho-picasso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charbgr%2Flitho-picasso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charbgr","download_url":"https://codeload.github.com/charbgr/litho-picasso/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250008286,"owners_count":21359959,"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","litho","picasso"],"created_at":"2024-08-02T01:01:57.267Z","updated_at":"2025-04-21T06:32:53.185Z","avatar_url":"https://github.com/charbgr.png","language":"Java","readme":"# Litho - Picasso\nLitho Picasso is a Litho compatible library, which provides an Image Component compatible with Picasso. Litho-PicassoX supports a wide part of Picasso's functionality and is compatible with Android X. If you notice that anything is missing ping me :)\n\n## How to use\n\nAdd the following dependency on your app's `build.gradle`:\n```gradle\nimplementation 'com.github.charbgr:litho-picassox:1.0'\n```\n\nAdd PicassoImage component on your own Component :)\n\n```java\nPicassoImage.create(componentContext)\n    .imageUrl(image)\n    .fit(true)\n    .centerCrop(true)\n    .buildWithLayout();\n```\n\n[Here](https://github.com/charbgr/litho-picasso/blob/master/app/src/main/java/com/github/charbgr/litho_picasso_component_sample/lithography/PicassoSingleImageComponentSpec.java) you can find a sample ComponentSpec that uses PicassoImage component.\n\n\n## Other\n\nLitho repository: https://github.com/facebook/litho\n\nLitho documentation: http://fblitho.com/docs/getting-started\n\nLicense\n=======\n\n    MIT License\n\n    Copyright (c) 2017 Vasilis Charalampakis \u0026 Pavlos-Petros Tournaris\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n","funding_links":[],"categories":["图片"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharbgr%2Flitho-picasso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharbgr%2Flitho-picasso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharbgr%2Flitho-picasso/lists"}