My application has three different actions that use SupportMapFragment . After starting the application, there is a serious delay on the first boot. This slow loading time does not during subsequent loads, even if I go back and get access to a completely different Activity (which also contains a map). I am trying to figure out if this is something that I could fix.
This method shows how I load SupportMapFragment . Using debug points, I determined that slowness occurs between onViewCreated and onStart .
Update 1 . Using Debug , I took two traces of the first boot and the second load. The second load is in a completely different Activity . I quickly noticed that the first trace (slow load) has LOT calls to java/util/zip/zipEntry . I do not see such calls in the second track. In addition, this delay occurs between onCreateView and onViewCreated MapFragment.
Update 2 . This also happens with MapFragment (not supported), except that the delay is actually much longer.
Update 3 : This SO question seems to be related. Also this one .
android supportmapfragment mapfragment
theblang
source share