일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Audacity
- uml example
- Linux
- adb
- Qmail
- 알고리즘
- UX
- conemu
- 우분투
- 공매도
- 보안
- Algorithm
- Android
- 도서
- 작성중
- 안드로이드
- IPTV
- LDAP
- IT 키워드
- KOSPI
- 주식
- 기술사
- Eclipse
- 코스피
- eclipse35
- java
- 태터수정
- unix
- ubuntu
Archives
- Today
- Total
목록singletone (1)
Do diffence
Softreference<> 를 이용한 singletone 구현
com.android.contacts.model.Sources.java 에 구현한 예제 private static SoftReference sInstance = null; /** * Requests the singleton instance of {@link Sources} with data bound from * the available authenticators. This method blocks until its interaction * with {@link AccountManager} is finished, so don't call from a UI thread. */ public static synchronized Sources getInstance(Context context) { Sources..
Android
2011. 2. 22. 17:01