I have updated an existing App following Erel's "Android Tutorial Google Maps". In compiling I get this warning:
"View 'mFragment' was added with the designer. You should not initialize it. (warning #20)"
This is the source of the warning, why?
Is this really a problem or can I "Ignore" it?
Be assured, I am NOT initializing the map fragment. I was hoping someone had already seen this and solved it. [We live in hope]
If it is unknown it is indeed a problem.
The project is to big to upload to the forum, when I get a chance I will upload to DropBox and post a link as soon as I can.
As you are not posting all relevant code we can not guess what you are doing or not.
Please upload a small project which shows the issue. Anything other is like fishing.
1. This is a Works In Progress and currently is not working even if I ignore the warning. [I am yet look at these issues.]
2. The API key is a dummy for security
3. Creating a small project is not feasible as there is no certainty that the problem would be recreated, I would only create what Erel showed in the tutorial.
You ARE Initializing it.
GoogleMap is a Customview which you should load from a Layout. Create a layout for the googlemap fragment and load this layout.
note that i removed the ttf from the zip so that the size is ok to upload. Add your ttf to this example.