Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- npm
- fragment
- 구글맵스
- 리액트
- RecyclerView
- array
- JS
- Java
- Kotlin
- scrollview
- React
- 안드로이드
- 자바스크립트
- 랜덤넘버
- 스프링부트
- Hook
- Javscript
- button
- SpringBoot
- nodejs
- GoogleMaps
- Android
- 랜덤번호
- 오버라이딩
- Linux
- stylesheet
- TextView
- JavaScript
- TypeScript
- 코틀린
Archives
- Today
- Total
목록싱글턴 (1)
타닥타닥 개발자의 일상
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/Bptbn/btrs2m2uLxH/dTZfbdrKKJedW3KsuoLLN1/img.png)
폴더 및 파일 구성 com.example.sample35 폴더 우클릭 > 새로 만들기 > Empty Activity > SubActivity 만들기 com.example.sample35 폴더 우클릭 > 새로 만들기 > 클래스 > Singleton activity_main.xml activity_sub.xml Singleton.kt package com.example.sameple35 class Singleton { companion object{ var chicken: String? = null } } class Singleton{ private static Singleton st = null int number 싱글턴은 딱 한번만 생성 private Singleton(){ } public static ..
코딩 기록/Kotlin
2022. 2. 10. 22:26