Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TangXiaoLv/TelegramGallery
world level Gallery , from Telegram,Photo album selector,QQ style
https://github.com/TangXiaoLv/TelegramGallery
album gallery photo photo-selector picture qqstyle telegram
Last synced: 6 days ago
JSON representation
world level Gallery , from Telegram,Photo album selector,QQ style
- Host: GitHub
- URL: https://github.com/TangXiaoLv/TelegramGallery
- Owner: TangXiaoLv
- License: gpl-2.0
- Created: 2016-08-19T07:19:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-27T04:57:26.000Z (over 2 years ago)
- Last Synced: 2024-10-29T20:01:10.482Z (7 days ago)
- Topics: album, gallery, photo, photo-selector, picture, qqstyle, telegram
- Language: C++
- Homepage:
- Size: 19.4 MB
- Stars: 1,327
- Watchers: 41
- Forks: 226
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.a64rpt
Awesome Lists containing this project
- awesome-github-android-ui - TelegramGallery - 快速高效低耗相册选择器 (图片)
README
# TelegramGallery
English | [中文](https://github.com/TangXiaoLv/TelegramGallery/blob/master/README_CN.md)Fast,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.
## Getting Started
### Gradle
```
dependencies {
compile 'com.library.tangxiaolv:telegramgallery:1.0.5'
}
```### configuration
```
```
### Usage
```
//open album
GalleryConfig config = new GalleryConfig.Build()
.limitPickPhoto(3)
.singlePhoto(false)
.hintOfPick("this is pick hint")
.filterMimeTypes(new String[]{"image/jpeg"})
.build();
GalleryActivity.openActivity(MainActivity.this, reqCode, config);//process result
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
//list of photos of seleced
List photos = (List) data.getSerializableExtra(GalleryActivity.PHOTOS);
//list of videos of seleced
List vides = (List) data.getSerializableExtra(GalleryActivity.VIDEOS);
}
```
## License
GPL-2.0