活动介绍

ch03_android_sample_for_basic

preview
需积分: 0 0 下载量 68 浏览量 更新于2015-03-04 收藏 113B RAR 举报
The initInstance method lets the internal instance be initialized only once and this is done in the MyApplication class as we saw earlier. The getInstance method allows to access the instance from every part of our application and the MySingleton constructor is kept private because we don’t want to allow the creation of multiple instances.
身份认证 购VIP最低享 7 折!
30元优惠券