-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TNT-117] 이미지 피커 구현 #31
Conversation
* Android PhotoPicker 를 사용하여 사진, 영상에 접근하도록 로직 수정 예정
* with Android Photo picker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니당~👍
) : Transformation { | ||
override val cacheKey: String = "resize_to_max_size_$maxSizeInBytes" | ||
|
||
override suspend fun transform(input: Bitmap, size: Size): Bitmap { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기서 size는 무슨 용도인가요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오버라이딩 해야해서 매개변수로 들어가 있기는 한데, 지금은 사용하고 있지 않아요!
Size
는 이미지의 사이즈를 지정하는 용도로 사용됩니다~
현재 파라미터로는 지금 설정된 이미지 사이즈가 들어올거에요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아항 넵 확인했습니다!
val pickMediaLauncher = rememberLauncherForActivityResult(PickVisualMedia()) { uri -> | ||
if (uri != null) { | ||
profileImage = uri | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
감사합니다~~~ |
📝 작업 내용
Closes [TNT-117] 이미지 피커 구현 #20
사용자가 이미지를 선택할 수 있도록 이미지 피커 (
Android Photo Picker
)를 구현하였습니다.Android Photo Picker
를 사용하였습니다.📸 실행 화면
picker.mp4
🙆🏻 리뷰 요청 사항
👀 레퍼런스