Skip to content

Axway Hyperloop example using SubsamplingScaleImageView on Android

License

Notifications You must be signed in to change notification settings

m1ga/hyperloop.bigimages

Repository files navigation

Axway Hyperloop example using SubsamplingScaleImageView (https://github.com/davemorrissey/subsampling-scale-image-view) on Android to load large images (with automatic zoom and pan)

gif

var f = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, "filename"); // get the image from /app/assets/
var bigimage = require("/bigimage");

bigimage.setImage(f.nativePath);    // set the image path
$.index.add(bigimage.getView());
$.index.open();

Photo by Luca Bravo on Unsplash: https://unsplash.com/photos/lWAOc0UuJ-A

About

Axway Hyperloop example using SubsamplingScaleImageView on Android

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published