This project demonstrates a simple implementation of photo picking functionality in Jetpack Compose, allowing users to select both single and multiple images from their device's gallery.
- Single Photo Picker: Pick a single image from the gallery and display it using
AsyncImage
. - Multiple Photo Picker: Pick multiple images from the gallery and display them in a lazy column.
SinglePhotoPicker
: A composable function that allows the user to pick a single image from the gallery.MultiplePhotoPicker
: A composable function that allows the user to pick multiple images from the gallery and displays them in a list.
-
Single Image Selection:
- Press the "Pick Single Image" button.
- Choose an image from the gallery.
- The selected image will be displayed below the button.
-
Multiple Image Selection:
- Press the "Pick Multiple Images" button.
- Choose multiple images from the gallery.
- The selected images will be displayed in a scrollable list.
- Jetpack Compose: Used for building the UI components.
- Coil: Used for loading and displaying images asynchronously.
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
For questions or feedback, please contact @Bhavyansh03-tech.