{"id":23129631,"url":"https://github.com/naxam/matisse-android-binding","last_synced_at":"2025-08-01T21:10:36.709Z","repository":{"id":85432369,"uuid":"89561731","full_name":"NAXAM/matisse-android-binding","owner":"NAXAM","description":"Xamarin.Android Binding Library forZhihu Matisse","archived":false,"fork":false,"pushed_at":"2017-05-01T17:08:22.000Z","size":1949,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T23:19:10.305Z","etag":null,"topics":["matisse","photo-picker","photogallery","xamarin-android-binding"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/NAXAM.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":"2017-04-27T06:06:23.000Z","updated_at":"2017-11-13T07:05:54.000Z","dependencies_parsed_at":"2023-06-16T10:31:35.029Z","dependency_job_id":null,"html_url":"https://github.com/NAXAM/matisse-android-binding","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NAXAM/matisse-android-binding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NAXAM%2Fmatisse-android-binding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NAXAM%2Fmatisse-android-binding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NAXAM%2Fmatisse-android-binding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NAXAM%2Fmatisse-android-binding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NAXAM","download_url":"https://codeload.github.com/NAXAM/matisse-android-binding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NAXAM%2Fmatisse-android-binding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268297398,"owners_count":24228124,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["matisse","photo-picker","photogallery","xamarin-android-binding"],"created_at":"2024-12-17T10:10:00.038Z","updated_at":"2025-08-01T21:10:36.694Z","avatar_url":"https://github.com/NAXAM.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xamarin Android Binding Library\nXamarin Binding Library for [Zhihu Matisse](https://github.com/zhihu/Matisse)\n\n```\nInstall-Package Naxam.Zhihu.Matisse.Droid\n```\n\n# Matisse\nMatisse is a well-designed local image and video selector for Android. You can  \n- Use it in Activity or Fragment\n- Select images including JPEG, PNG, GIF and videos including MPEG, MP4 \n- Apply different themes, including two built-in themes and custom themes\n- Different image loaders\n- Define custom filter rules\n- More to find out yourself\n\n| Zhihu Style                    | Dracula Style                     | Preview                          |\n|:------------------------------:|:---------------------------------:|:--------------------------------:|\n|![](image/screenshot_zhihu.png) | ![](image/screenshot_dracula.png) | ![](image/screenshot_preview.png)|\n\n## ProGuard\nIf you use [Glide](https://github.com/bumptech/glide) as your image engine, you may need the following rules:\n```pro\n-keep public class * implements com.bumptech.glide.module.GlideModule\n-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {\n  **[] $VALUES;\n  public *;\n}\n\n# for DexGuard only\n-keepresourcexmlelements manifest/application/meta-data@value=GlideModule\n```\nIf you use [Picasso](https://github.com/square/picasso) as your image engine, you may need the following rules:\n```pro\n-dontwarn com.squareup.okhttp.**\n```\n\n## How do I use Matisse?\n#### Permission\nThe library requires two permissions:\n- `android.permission.READ_EXTERNAL_STORAGE`\n- `android.permission.WRITE_EXTERNAL_STORAGE`\n\nSo if you are targeting Android 6.0+, you need to handle runtime permission request before next step.\n\n#### Simple usage snippet\n------\nStart `MatisseActivity` from current `Activity` or `Fragment`:\n\n```java\nMatisse.from(MainActivity.this)\n        .choose(MimeType.allOf())\n        .countable(true)\n        .maxSelectable(9)\n        .addFilter(new GifSizeFilter(320, 320, 5 * Filter.K * Filter.K))\n        .gridExpectedSize(getResources().getDimensionPixelSize(R.dimen.grid_expected_size))\n        .restrictOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED)\n        .thumbnailScale(0.85f)\n        .imageEngine(new GlideEngine())\n        .forResult(REQUEST_CODE_CHOOSE);\n```\n \n#### Themes\nThere are two built-in themes you can use to start `MatisseActivity`:\n- `R.style.Matisse_Zhihu` (light mode)\n- `R.style.Matisse_Dracula` (dark mode)  \n\nAnd Also you can define your own theme as you wish.\n\n#### Receive Result\nIn `onActivityResult()` callback of the starting `Activity` or `Fragment`:\n\n```java\nList\u003cUri\u003e mSelected;\n\n@Override\nprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n    super.onActivityResult(requestCode, resultCode, data);\n    if (requestCode == REQUEST_CODE_CHOOSE \u0026\u0026 resultCode == RESULT_OK) {\n        mSelected = Matisse.obtainResult(data);\n        Log.d(\"Matisse\", \"mSelected: \" + mSelected);\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaxam%2Fmatisse-android-binding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaxam%2Fmatisse-android-binding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaxam%2Fmatisse-android-binding/lists"}