I need a code for load images with ALL this options:
- High resolution images
- Pinch and double tap to zoom
- Load from URL
- ViewPager
Anyone know a code like this?
I need a code for load images with ALL this options:
- High resolution images
- Pinch and double tap to zoom
- Load from URL
- ViewPager
Anyone know a code like this?
I can help you for Image Loading from url as below:
I can recommend a different way that works like a charm: Android Query.
You can download that JAR file from here
AQuery androidAQuery = new AQuery(this);
As an example:
androidAQuery.id(YOUR IMAGEVIEW).image(YOUR IMAGE TO LOAD, true, true, getDeviceWidth(), ANY DEFAULT IMAGE YOU WANT TO SHOW);
It's very fast and accurate, and using this you can find many more features like animation when loading, getting a bitmap (if needed), etc.
I recommend you to use this library https://github.com/nostra13/Android-Universal-Image-Loader
So 3 from 4, but zooming is too separate thing in order to be included to library which downloading images.