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
- Javscript
- React
- Hook
- GoogleMaps
- Java
- nodejs
- 안드로이드
- 스프링부트
- TextView
- Linux
- 코틀린
- TypeScript
- 리액트
- RecyclerView
- 랜덤넘버
- JS
- JavaScript
- Kotlin
- SpringBoot
- 구글맵스
- 오버라이딩
- 랜덤번호
- array
- Android
- npm
- 자바스크립트
- scrollview
- button
- fragment
- stylesheet
Archives
- Today
- Total
목록setOnClickListener (1)
타닥타닥 개발자의 일상
코틀린으로Kotlin 증감하는 Counter만들기, setOnClickListener과 증감 연산자 이용
숫자를 입력한 다음 + 버튼을 누르면 증가하고 -버튼을 누르면 감소하는, reset버튼을 누르면 숫자가 0으로 초기화 되는 카운터를 만들것. activity_main.xml 코드화면 activity_main.xml 코드화면 MainActivity.kt package com.example.counter import android.content.DialogInterface import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.Button import android.widget.EditText import android.widget.TextView im..
코딩 기록/Kotlin
2022. 2. 3. 19:58