Skip to content

Conversation

@jusang3057
Copy link
Owner

실습5를 기준으로하여 random 버튼 수정했습니다.

2024-12-02
202024-12-02
2024 12 23
2024 12 23
Copy link

@skdud0629 skdud0629 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다! 👍

// 권한이 허용된 경우 알림 표시
showNotification()
} else {
// 권한이 거부된 경우 처리

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

권한이 거부되었을 때 사용되는 아래의 메소드도 사용해보세용

shouldShowRequestPermissionRationale(Manifest.permission.READ_EXTERNAL_STORAGE)

class RandomFragment : Fragment() {

private var currentNumber: Int = 0
private lateinit var number_number: TextView

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네이밍 컨벤션 통일해주세요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants