{"id":13643986,"url":"https://github.com/liuguangqiang/IPicker","last_synced_at":"2025-04-21T06:32:21.843Z","repository":{"id":57726236,"uuid":"68502649","full_name":"liuguangqiang/IPicker","owner":"liuguangqiang","description":"A material design style pictures selector.","archived":false,"fork":false,"pushed_at":"2020-04-08T03:03:28.000Z","size":4754,"stargazers_count":308,"open_issues_count":5,"forks_count":55,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-09T21:40:36.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/liuguangqiang/IPicker","language":"Java","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/liuguangqiang.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-09-18T06:54:17.000Z","updated_at":"2024-11-02T04:40:01.000Z","dependencies_parsed_at":"2022-09-26T21:50:38.607Z","dependency_job_id":null,"html_url":"https://github.com/liuguangqiang/IPicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuguangqiang%2FIPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuguangqiang%2FIPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuguangqiang%2FIPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuguangqiang%2FIPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuguangqiang","download_url":"https://codeload.github.com/liuguangqiang/IPicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250008239,"owners_count":21359953,"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-08-02T01:01:55.828Z","updated_at":"2025-04-21T06:32:16.832Z","avatar_url":"https://github.com/liuguangqiang.png","language":"Java","funding_links":[],"categories":["图片"],"sub_categories":[],"readme":"IPicker\n======================================\nA material design style pictures selector.\n\n## Screenshot\n\u003cimg src=\"arts/1.png\" width=\"30%\"\u003e \u003cimg src=\"arts/2.png\" width=\"30%\"\u003e \u003cimg src=\"arts/clipping.png\" width=\"30%\"\u003e\n\n## Usage\n### Gradle\n\n```\ndependencies {\n   \timplementation 'com.liuguangqiang.ipicker:IPicker:1.1.0'\n}\n```\n\n### Maven\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.liuguangqiang.ipicker\u003c/groupId\u003e\n  \u003cartifactId\u003eIPicker\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.0\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n### Manifest\n\n```\n\u003cactivity\n     android:name=\"com.liuguangqiang.ipicker.IPickerActivity\"\n     android:screenOrientation=\"portrait\"\n     android:theme=\"@style/IPickerTheme\" /\u003e\n```\n\n### Theme\n```\n\u003cstyle name=\"IPickerTheme\" parent=\"Theme.AppCompat.Light.DarkActionBar\"\u003e\n     \u003citem name=\"colorPrimary\"\u003e@color/color_primary\u003c/item\u003e\n     \u003citem name=\"colorPrimaryDark\"\u003e@color/color_primary_dark\u003c/item\u003e\n     \u003citem name=\"colorAccent\"\u003e@color/color_primary\u003c/item\u003e\n \u003c/style\u003e\n```\n\n### Open the picker\n```java\nIPicker.setLimit(1);\nIPicker.open(context);\n```\n\nReturn the selected images by EventBus.\n\n```\n@Subscribe\npublic void onEvent(IPickerEvent event) {\n}\n```\n\nAlso support to get the selected images by a listener.\n\n```\nIPicker.setOnSelectedListener(new IPicker.OnSelectedListener() {\n\n      @Override\n      public void onSelected(List\u003cString\u003e paths) {}\n\n});\n```\n\n## License\n\n    Copyright 2016 Eric Liu\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuguangqiang%2FIPicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuguangqiang%2FIPicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuguangqiang%2FIPicker/lists"}