Skip to content
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

[Feature] 내 상점 수정 페이지 다중 이미지 업로드 #331

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

skdud0629
Copy link
Member

개요

  • 사장님 내 상점 수정 페이지
    • 가게 대표 이미지 업로드

작업 상세내용

  • 다중 이미지 업로드
    • photo picker & presigned url 사용

결과 화면

@skdud0629 skdud0629 requested a review from a team as a code owner July 19, 2024 04:05
@skdud0629 skdud0629 self-assigned this Jul 19, 2024
@skdud0629 skdud0629 changed the base branch from production to develop July 19, 2024 04:17
Copy link
Contributor

@yunjaena yunjaena left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 :) comment 확인해주세요!

var fileSize = 0L
val inputStream = context.contentResolver.openInputStream(it)
if (it.scheme.equals("content")) {
val cursor = context.contentResolver.query(it, null, null, null, null)
Copy link
Contributor

Choose a reason for hiding this comment

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

query하는 Main thread에서 작업하는게 무거울 수 있습니다. worker thread에서 작업하도록 변경해주세요 :)

Copy link
Contributor

Choose a reason for hiding this comment

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

사진 관리하는 화면이 많으면 따로 클래스로 빼서 작업해보는것도 좋아보이네요

Copy link
Member Author

Choose a reason for hiding this comment

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

이미지 처리 로직 따로 분리해주고 worker thread에서 작업하도록 변경했습니다!
751eaf1
c81e005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants