군침이 싹 도는 코딩
자바 문자열을 숫자로 바꾸는 법 본문
String strYear = editYear.getText().toString().trim();
int year = Integer.valueOf(strYear).intValue();
# 에디트 텍스트에서 데이터를 문자열로 바꿔서 숫자로 바꾸는 법
'Android' 카테고리의 다른 글
카운트 다운 타이머 ( CountDownTimer ) 사용법 (0) | 2023.01.27 |
---|---|
프로그레스바 ( progresbar ) 사용법 (0) | 2023.01.27 |
Android Emulator System UI isn't responding 해결법 (0) | 2023.01.27 |
알러트 다이얼로그 ( AlertDialog ) (0) | 2023.01.27 |
TextView 의 setText 함수 숫자 처리 (0) | 2023.01.26 |