Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- viewmodel
- activity
- data
- 앱
- Kotlin
- Coroutines
- binding
- 계측
- textfield
- Flutter
- android
- intent
- scroll
- CustomScrollView
- 테스트
- ScrollView
- tabbar
- Dialog
- livedata
- LifeCycle
- 앱바
- textview
- drift
- TEST
- Navigation
- Button
- 안드로이드
- appbar
- Compose
- DART
Archives
- Today
- Total
목록Radio (1)
Study Record
[안드로이드] RadioButton, RadioGroup 살펴보기
😶 RadioGroup 과 RadioButton RadioButton 은 여러개의 옵션을 선택할 때 사용한다. RadioGroup 내부의 RadioButton 을 여러개 배치해서 RadioButton 들 중 하나의 RadioButton 만을 선택할 수 있다. 의 android:checked 속성을 true 로 하거나 의 android:checkedButton 속성의 id 값을 입력하면 라디오 그룹 내에서 해당 라디오가 선택된다. 라디오 이벤트 라디오 버튼이 클릭될 때마다 setOnCheckedChangeListener 이벤트로 클릭된 라디오 id 값(checkId)을 받을 수 있다. binding.radioGroup.setOnCheckedChangeListener { group, checkedId -> ..
안드로이드
2023. 7. 11. 18:53