Issue
calling setContentView
with layout containing a MapView is very slow the first time, and quite fast afterwards. Why? Does it already load some map images called? How can I make it faster (I'm in debug mode, just in case...)?
Thanks
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mylayoutwithmapview); //very slow the first time
//...
}
Solution
To solve that I added a MapView (not used) in a layout shown after my splash screen, so that the first long call of setContentView is not noticed.
Answered By - jul
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.