AnsweredAssumed Answered

Using MapView in a Fragment redownload tiles

Question asked by orzundher on Feb 10, 2016
Latest reply on Feb 29, 2016 by orzundher

Hi, im using a Fragment to show the MapView. I do this because the "device configuration changed" event destroy the MainActivity and I don't want to recreate the wohle App Objects after this event.


The new created MainActivity (after the "device configuration changed" event ) can fetch the old Fragment with the MapView, but the original MapView cant be showed in the new Activity. Its needed to create a new MapView (with a new context) and return a new View for the new Activity. Unfortunately the new MapView needs redownload all tiles. Can this behavior be avoided? Can the old MapView object be used with the new Activity?