# EcoGallery **Repository Path**: appstore/EcoGallery ## Basic Information - **Project Name**: EcoGallery - **Description**: Replacement for Gallery widget in Android with View recycling. - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-03-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **THIS PROJECT IS RETIRED** I'm using now a RecyclerView with horizontal scrolling, it does not snap like the GalleryView but I created a line in the middle that if one of the gallery view childs touch it then I'll do an action in my app (something like [this](http://applenapps.com/wp-content/uploads/2013/10/imovie_2_iphone1.jpg)). If you are intrested of seeing this open sourced or have a question of how it's beeing done, feel free to reach out to me on twitter [@thisisferas](https://twitter.com/thisisferas). EcoGallery ========== Replacement for Gallery widget in Android with View recycling. This originally made by Joseph Earl ([details](http://stackoverflow.com/a/5882944)). ##Usage: 1- Include 'EcoGallery' android library to your project. (Eclipse project: properties -> Android -> Library - Add) 2- You could declare EcoGallery in the layout xml file, Example: 3- Use EcoGalleryAdapterView instead of AdapterView. For a complete tutorial check the [wiki](https://github.com/falnatsheh/EcoGallery/wiki/EcoGallery-Sample-Code). ## Sample App Click [here](https://github.com/falnatsheh/EcoGallery/tree/master/EcoGallerySample) to view the sample app ## Change Log: June 24, 2013 - Compiler warnings fixed [@mnowrot](https://github.com/mnowrot) ##Limitation: >The existing implementation assumed that each different position in the adapter resulted in a unique view. The changes are only good if your Gallery contains only one type of item, if not you'll need to add some sort of key based on item type and the amount of that type required. ## Notes - If you got `Failed to find style 'ecoGalleryStyle' in current theme` then add an empty style in your AppTheme styles.xml see an example below (thanks to @[hastoukopsaro](https://github.com/hastoukopsaro)): ```xml ```