Question

I have a couple of images on available to my program. They are parts of jigsaw puzzle (with rectangular pieces though). I wanted the look and feel similar to that of google maps in android.

One way I could implement was to create a set of ImageViews and keep recycling them, as the user pans the image in any direction. However, to me that appears like a brute force method. Is there any alternative approach to implement such kind of application?

Or rather how is google maps implemented? A set of Imageviews ?

Was it helpful?

Solution

I think for your case the OpenGL route might be the best choice. You can get started with the GLSurfaceView.

OTHER TIPS

Using set of images and recycling them is a valid method. But you can enhance it by adding some redundant ones to keep close to view area images preloaded.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top