{"id":20447135,"url":"https://github.com/stfalcon-studio/multiimageview","last_synced_at":"2025-04-13T00:48:39.232Z","repository":{"id":42951005,"uuid":"77147474","full_name":"stfalcon-studio/MultiImageView","owner":"stfalcon-studio","description":"Android library to display a few images in one ImageView like avatar of group chat. Made by Stfalcon","archived":false,"fork":false,"pushed_at":"2021-02-15T15:35:07.000Z","size":293,"stargazers_count":472,"open_issues_count":5,"forks_count":76,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-13T00:48:34.671Z","etag":null,"topics":["android","avatar","groupchat","multiimage"],"latest_commit_sha":null,"homepage":"http://stfalcon.com","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/stfalcon-studio.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}},"created_at":"2016-12-22T13:39:13.000Z","updated_at":"2024-12-15T07:28:14.000Z","dependencies_parsed_at":"2022-09-22T04:52:56.339Z","dependency_job_id":null,"html_url":"https://github.com/stfalcon-studio/MultiImageView","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/stfalcon-studio%2FMultiImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stfalcon-studio%2FMultiImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stfalcon-studio%2FMultiImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stfalcon-studio%2FMultiImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stfalcon-studio","download_url":"https://codeload.github.com/stfalcon-studio/MultiImageView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650436,"owners_count":21139672,"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","avatar","groupchat","multiimage"],"created_at":"2024-11-15T10:24:42.494Z","updated_at":"2025-04-13T00:48:39.213Z","avatar_url":"https://github.com/stfalcon-studio.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiImageView\r\n[![codebeat badge](https://codebeat.co/badges/a7126021-293c-4ba8-887c-2ccae7379b5c)](https://codebeat.co/projects/github-com-stfalcon-studio-multiimageview-master) [![](https://jitpack.io/v/stfalcon-studio/MultiImageView.svg)](https://jitpack.io/#stfalcon-studio/MultiImageView)\r\n\r\nLibrary for display a few images in one MultiImageView like avatar of group chat\r\n\r\n![alt tag](http://i.imgur.com/S4QoKVB.gif)\r\n\r\n### Who we are\r\nNeed iOS and Android apps, MVP development or prototyping? Contact us via info@stfalcon.com. We develop software since 2009, and we're known experts in this field. Check out our [portfolio](https://stfalcon.com/en/portfolio) and see more libraries from [stfalcon-studio](https://stfalcon-studio.github.io/).\r\n\r\n### Download\r\n\r\n1. Add jitpack to the root build.gradle file of your project at the end of repositories.\r\n```\r\nallprojects {\r\n  repositories {\r\n    ...\r\n    maven { url 'https://jitpack.io' }\r\n  }\r\n}\r\n```\r\n2. Add the dependency\r\n```\r\ndependencies {\r\n  ...\r\n  implementation \"com.github.stfalcon-studio:StfalconFixturer-android:[last_version]\"\r\n}  \r\n```\r\n\r\n### Usage\r\nAdd MultiImageView to layout xml file\r\n```xml\r\n\u003ccom.stfalcon.multiimageview.MultiImageView\r\n        android:id=\"@+id/iv\"\r\n        android:layout_width=\"100dp\"\r\n        android:layout_height=\"100dp\"/\u003e\r\n```\r\nIn java class find view by id\r\n```java\r\nfinal MultiImageView multiImageView = (MultiImageView) findViewById(R.id.iv);\r\n```\r\nFor adding image to MultiImageView use method addImage(Bitmap bitmap). For exapple:\r\n```java\r\nmultiImageView.addImage(BitmapFactory.decodeResource(getResources(), R.drawable.avatar1));\r\n```\r\nFor setting shape of MultiImageView use method setShape(MultiImageView.Shape shape).\r\n```java\r\nmultiImageView.setShape(MultiImageView.Shape.RECTANGLE);//Rectangle with round corners\r\nmultiImageView.setShape(MultiImageView.Shape.CIRCLE);//Circle\r\nmultiImageView.setShape(MultiImageView.Shape.NONE);//Without shape\r\n```\r\nIf you choose rectangle shape you can set corner radius\r\n```java\r\nmultiImageView.setRectCorners(50);\r\n```\r\nTo clear MultiImageView use:\r\n```java\r\nmultiImageView.clear();\r\n```\r\n\r\n\r\nTake a look at the [sample project](sample) for more information\r\n\r\n### License \r\n\r\n```\r\nCopyright 2017 stfalcon.com\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n```\r\n\r\n\r\n[sample]: \u003chttps://github.com/stfalcon-studio/MultiImageView/tree/master/sample\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstfalcon-studio%2Fmultiimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstfalcon-studio%2Fmultiimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstfalcon-studio%2Fmultiimageview/lists"}