开发者

Android Map View

开发者 https://www.devze.com 2023-01-18 20:03 出处:网络
In my application if i press a button map is loaded in my layout.again i press the button i got err开发者_运维技巧or like this.

In my application if i press a button map is loaded in my layout.again i press the button i got err开发者_运维技巧or like this.

onlu one map is added to a single map activity . how to solve this.


you can use a programming trick to avoid this.

booleanVar = false; onButtonClick

if(! booleanVar){

load the map . set a booleanVar to true. }

0

精彩评论

暂无评论...
验证码 换一张
取 消