{"id":13470963,"url":"https://github.com/TangXiaoLv/TelegramGallery","last_synced_at":"2025-03-26T12:32:15.855Z","repository":{"id":55148640,"uuid":"66061669","full_name":"TangXiaoLv/TelegramGallery","owner":"TangXiaoLv","description":"world level Gallery , from Telegram，Photo album selector，QQ style","archived":false,"fork":false,"pushed_at":"2022-07-27T04:57:26.000Z","size":20337,"stargazers_count":1330,"open_issues_count":17,"forks_count":226,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-03-18T15:19:09.244Z","etag":null,"topics":["album","gallery","photo","photo-selector","picture","qqstyle","telegram"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TangXiaoLv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.a64rpt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-19T07:19:28.000Z","updated_at":"2025-03-08T15:39:39.000Z","dependencies_parsed_at":"2022-08-14T13:31:07.493Z","dependency_job_id":null,"html_url":"https://github.com/TangXiaoLv/TelegramGallery","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangXiaoLv%2FTelegramGallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangXiaoLv%2FTelegramGallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangXiaoLv%2FTelegramGallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangXiaoLv%2FTelegramGallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TangXiaoLv","download_url":"https://codeload.github.com/TangXiaoLv/TelegramGallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245495952,"owners_count":20624812,"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":["album","gallery","photo","photo-selector","picture","qqstyle","telegram"],"created_at":"2024-07-31T16:00:37.881Z","updated_at":"2025-03-26T12:32:13.904Z","avatar_url":"https://github.com/TangXiaoLv.png","language":"C++","funding_links":[],"categories":["C++","图片"],"sub_categories":[],"readme":"# TelegramGallery\nEnglish | [中文](https://github.com/TangXiaoLv/TelegramGallery/blob/master/README_CN.md) \n\nFast，efficiently，low memory selector of album,extract from [Telegram](https://github.com/DrKLO/Telegram). Support singleSelection, Multiselect, photo preview，scalable ,sliding to quit preview，QQ pick style.\n\n\u003cimg src=\"png/1.gif\" height= \"528\" width=\"320\"\u003e\n\n## Getting Started\n### Gradle\n```\ndependencies {\n    compile 'com.library.tangxiaolv:telegramgallery:1.0.5'\n}\n```\n\n### configuration\n```\n    \u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/\u003e\n    \u003cuses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/\u003e\n    \n    \u003cactivity android:name=\"com.tangxiaolv.telegramgallery.GalleryActivity\" /\u003e\n```\n### Usage\n```\n//open album\nGalleryConfig config = new GalleryConfig.Build()\n                        .limitPickPhoto(3)\n                        .singlePhoto(false)\n                        .hintOfPick(\"this is pick hint\")\n                        .filterMimeTypes(new String[]{\"image/jpeg\"})\n                        .build();\nGalleryActivity.openActivity(MainActivity.this, reqCode, config);\n\n//process result\n@Override\nprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n    //list of photos of seleced\n    List\u003cString\u003e photos = (List\u003cString\u003e) data.getSerializableExtra(GalleryActivity.PHOTOS);\n    \n    //list of videos of seleced\n    List\u003cString\u003e vides = (List\u003cString\u003e) data.getSerializableExtra(GalleryActivity.VIDEOS);\n}\n```\n## License\nGPL-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTangXiaoLv%2FTelegramGallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTangXiaoLv%2FTelegramGallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTangXiaoLv%2FTelegramGallery/lists"}