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

[feat] 핑글 개최 프로세스 - 내용요약/확인 뷰 구현 #65

Merged
merged 22 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0e4f8d0
[add] #42 내용 요약/확인 뷰string 리소스 추가
HAJIEUN02 Jan 5, 2024
7bdcadd
[chore] #42 PlanActivity fragmentList에 내용 요약/확인 프래그먼트 추가
HAJIEUN02 Jan 5, 2024
9f44ed5
Merge branch 'develop' into feat-plan-summary-confirmation
HAJIEUN02 Jan 7, 2024
b636da2
[feat] #39 내용 요약/확인 페이지 구현
HAJIEUN02 Jan 7, 2024
9cc5d0e
[mod] #39 viewModel 호출 로직수정
HAJIEUN02 Jan 8, 2024
664d517
Merge branch 'develop' into feat-plan-summary-confirmation
HAJIEUN02 Jan 9, 2024
5c6af6c
Merge branch 'develop' into feat-plan-summary-confirmation
HAJIEUN02 Jan 9, 2024
9b1a288
[chore] #60 viewModel binding 선언
HAJIEUN02 Jan 9, 2024
de8f744
[chore] #60 viewModel -> activityViewModel로 수정
HAJIEUN02 Jan 9, 2024
ded080d
Merge branch 'develop' into feat-plan-summary-confirmation
HAJIEUN02 Jan 9, 2024
bfb3843
[chore] #42 viewModel -> activityViewModel로 수정
HAJIEUN02 Jan 9, 2024
0f2d198
[feat] #42 내용 요약/확인 뷰 구현
HAJIEUN02 Jan 9, 2024
0f4b962
[chore] #42 ktlint 적용
HAJIEUN02 Jan 9, 2024
40737a4
[feat] #42 start/end시간 출력형태 가공 함수 추가
HAJIEUN02 Jan 9, 2024
7c99cab
[add] #42 text_appearance 추가 및 UI 수정
HAJIEUN02 Jan 9, 2024
b6205e9
[chore] #42 maxLines=2로 수정
HAJIEUN02 Jan 9, 2024
17a8d76
[feat] #42 date 출력형태 가공 함수 추가
HAJIEUN02 Jan 9, 2024
884dc9c
[chore] #42 코드리뷰 반영
HAJIEUN02 Jan 9, 2024
7d06e51
[chore] #42 코드리뷰 반영2
HAJIEUN02 Jan 9, 2024
9b877f5
[chore] #42 코드리뷰 반영3
HAJIEUN02 Jan 9, 2024
0bf7f3e
[chore] #42 상수화 및 제약 수정
HAJIEUN02 Jan 9, 2024
88597a8
Merge branch 'develop' into feat-plan-summary-confirmation
HAJIEUN02 Jan 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@
android:name=".presentation.ui.dummy.DummyActivity"
android:exported="true"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
tools:ignore="LockedOrientationActivity"/>
<activity
android:name=".presentation.ui.dummy.DummyCustomDEditTextActivity"
android:exported="false"
Expand All @@ -61,10 +55,16 @@
tools:ignore="LockedOrientationActivity" />
<activity
android:name=".presentation.ui.main.plan.PlanActivity"
android:exported="false"
android:exported="true"
android:windowSoftInputMode="adjustNothing"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity" />
tools:ignore="LockedOrientationActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기 복구 시켜주세요


<meta-data
android:name="io.sentry.dsn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class PlanActivity : BindingActivity<ActivityPlanBinding>(R.layout.activity_plan
add(PlanLocationFragment())
add(PlanRecruitmentFragment())
add(PlanOpenChattingFragment())
add(PlanSummaryConfirmationFragment())
}

val adapter = PlanFragmentStateAdapter(fragmentList, this)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,31 @@ package org.sopt.pingle.presentation.ui.main.plan

import android.os.Bundle
import android.view.View
import androidx.fragment.app.viewModels
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
import org.sopt.pingle.R
import org.sopt.pingle.databinding.FragmentPlanCategoryBinding
import org.sopt.pingle.presentation.type.CategoryType
import org.sopt.pingle.util.base.BindingFragment
import timber.log.Timber

class PlanCategoryFragment :
BindingFragment<FragmentPlanCategoryBinding>(R.layout.fragment_plan_category) {
private val viewModel by viewModels<PlanViewModel>()
private val viewModel by activityViewModels<PlanViewModel>()
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)

binding.planViewModel = viewModel
binding.lifecycleOwner = this

initLayout()
addListeners()
}
viewModel.selectedCategory.flowWithLifecycle(lifecycle).onEach {
Timber.tag("observe:categoryType").d(viewModel.selectedCategory.value?.name.toString())
}.launchIn(lifecycleScope)
Copy link
Collaborator

Choose a reason for hiding this comment

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

timber나 로그 코드 모두 삭제해주세요


private fun initLayout() {
addListeners()
}

private fun addListeners() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package org.sopt.pingle.presentation.ui.main.plan

import android.os.Bundle
import android.view.View
import androidx.fragment.app.activityViewModels
import org.sopt.pingle.R
import org.sopt.pingle.databinding.FragmentPlanSummaryConfirmationBinding
import org.sopt.pingle.presentation.type.CategoryType
import org.sopt.pingle.util.base.BindingFragment
import org.sopt.pingle.util.fragment.colorOf

class PlanSummaryConfirmationFragment :
BindingFragment<FragmentPlanSummaryConfirmationBinding>(R.layout.fragment_plan_summary_confirmation) {
private val viewModel by activityViewModels<PlanViewModel>()
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)

initLayout()
}

private fun initLayout() {
val category: CategoryType? = viewModel.selectedCategory.value
if (category != null) {
with(binding) {
badgePlanSummaryConfirmationCategory.setBadgeCategoryType(category)
tvPlanSummaryConfirmationName.setTextColor(colorOf((category.textColor)))
tvPlanSummaryConfirmationName.text = viewModel.planTitle.value
tvPlanSummaryConfirmationOwnerName.text = "개최자"
Copy link
Collaborator

Choose a reason for hiding this comment

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

이거 나중에 서버통신으로 사용자 정보 받아와서 개최자 닉네임 넣어주는 로직으로 수정해주는 거 맞죠?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

넵 API명세서에 있는 거 씁니둥,,

tvPlanSummaryConfirmationCalenderDetail.text =
viewModel.planDate.value + "\n" + makeTimeClean(viewModel.startTime.value) + " ~ " + makeTimeClean(viewModel.endTime.value)
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 스트링 추출해서 사용해주세요

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

이건 나중에 서버통신으로 없앨 부분이라 그냥 둘게욥

Copy link
Collaborator

Choose a reason for hiding this comment

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

날짜도 변환해주세요

tvPlanSummaryConfirmationMapDetail.text = viewModel.selectedLocation.value?.location
tvPlanSummaryConfirmationRecruitmentDetail.text = getString(R.string.plan_summary_confirmation_recruitment_number, viewModel.selectedRecruitment.value)
}
}
}

private fun makeTimeClean(time: String): String = time.substring(0, 5)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
private fun makeTimeClean(time: String): String = time.substring(0, 5)
private fun convertWithoutSecondFormatHours(time: String): String = time.substring(0, 5)

이런 식으로 네이밍하는 게 좋을 것 같고 0이랑 5는 상수화 해주세요

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

뭔가 직관적이지 않은 것 같아서 convertDateFormat, convertTimeFormat으로 수정했슴둥

}
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
package org.sopt.pingle.presentation.ui.main.plan

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.stateIn
import org.sopt.pingle.domain.model.PlanLocationEntity
import org.sopt.pingle.presentation.type.CategoryType
import org.sopt.pingle.presentation.type.PlanType
import org.sopt.pingle.util.combineAll

class PlanViewModel : ViewModel() {
Expand All @@ -34,7 +28,7 @@ class PlanViewModel : ViewModel() {
.combineAll()

// TODO 수정 예정, 테스트를 위해 position값 임의 설정
val isPlanBtnEnabled: StateFlow<Boolean> = listOf(
/*val isPlanBtnEnabled: StateFlow<Boolean> = listOf(
currentPage,
planTitle,
planDate,
Expand All @@ -53,10 +47,9 @@ class PlanViewModel : ViewModel() {
(currentPage == PlanType.TITLE.position - 1 && planTitle.isNotBlank()) ||
(currentPage == 1 && planDate.isNotBlank() && startTime.isNotBlank() && endTime.isNotBlank()) ||
(currentPage == 2 && planOpenChattingLink.isNotBlank())
}
.stateIn(viewModelScope, SharingStarted.WhileSubscribed(), false)
}.stateIn(viewModelScope, SharingStarted.WhileSubscribed(), false)*/

// val isPlanBtnEnabled = MutableStateFlow(true)
val isPlanBtnEnabled = MutableStateFlow(true)

private val _selectedLocation = MutableStateFlow<PlanLocationEntity?>(null)
val selectedLocation get() = _selectedLocation.asStateFlow()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.sopt.pingle.presentation.ui.main.plan.planlocation
import android.os.Bundle
import android.view.KeyEvent
import android.view.View
import androidx.fragment.app.viewModels
import androidx.fragment.app.activityViewModels
import androidx.recyclerview.widget.LinearLayoutManager
import org.sopt.pingle.R
import org.sopt.pingle.databinding.FragmentPlanLocationBinding
Expand All @@ -13,7 +13,7 @@ import org.sopt.pingle.util.context.hideKeyboard

class PlanLocationFragment :
BindingFragment<FragmentPlanLocationBinding>(R.layout.fragment_plan_location) {
private val planLocationViewModel by viewModels<PlanViewModel>()
private val planLocationViewModel by activityViewModels<PlanViewModel>()
private val planLocationAdapter: PlanLocationAdapter by lazy {
PlanLocationAdapter(::deleteOldPosition)
}
Expand Down
201 changes: 201 additions & 0 deletions app/src/main/res/layout/fragment_plan_summary_confirmation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">

<data>

<variable
name="planViewModel"
type="org.sopt.pingle.presentation.ui.main.plan.PlanViewModel" />
</data>

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_plan_summary_confirmation"
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/tv_plan_summary_confirmation_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing8"
android:text="@string/plan_summary_confirmation_title"
android:textAppearance="@style/TextAppearance.Pingle.Title.Semi.24"
android:textColor="@color/white"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<androidx.constraintlayout.widget.ConstraintLayout
Copy link
Collaborator

Choose a reason for hiding this comment

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

제목 2줄 되었을 때에도 카드 크기 고정되어야 합니다. 대응했나요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

디자인 측에서 늘어나는게 맞다고 해서 그렇게 반영했습니당! (1/9 기준)

android:id="@+id/layout_plan_summary_confirmation_card_top"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing25"
android:background="@drawable/shape_border_radius_15"
android:backgroundTint="@color/g_10"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_plan_summary_confirmation_title">

<org.sopt.pingle.util.component.PingleBadge
android:id="@+id/badge_plan_summary_confirmation_category"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing24"
android:layout_marginTop="@dimen/spacing22"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<TextView
android:id="@+id/tv_plan_summary_confirmation_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing24"
android:layout_marginTop="8dp"
android:layout_marginEnd="@dimen/spacing25"
android:maxLines="2"
android:textAppearance="@style/TextAppearance.Pingle.Sub.Bold.16"
android:textColor="@color/pingle_orange"
Copy link
Collaborator

Choose a reason for hiding this comment

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

빼주세요

app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Copy link
Collaborator

Choose a reason for hiding this comment

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

badge에 제약 주세요

app:layout_constraintTop_toBottomOf="@id/badge_plan_summary_confirmation_category"
tools:text="강남 모각작팟" />

<TextView
android:id="@+id/tv_plan_summary_confirmation_owner_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing24"
android:layout_marginTop="4dp"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
android:layout_marginTop="4dp"
android:layout_marginTop="7dp"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

피그마 보니까 8dp길래 8dp로 수정했습니다!!!!

android:layout_marginBottom="@dimen/spacing22"
android:textAppearance="@style/TextAppearance.Pingle.Body.Med.14"
android:textColor="@color/g_03"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
Copy link
Collaborator

Choose a reason for hiding this comment

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

얘도 badge 에 제약 주세요. 아니면 가이드 라인 사용해주세요

app:layout_constraintTop_toBottomOf="@id/tv_plan_summary_confirmation_name"
tools:text="개최자" />
</androidx.constraintlayout.widget.ConstraintLayout>

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_plan_summary_confirmation_card_bottom"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@drawable/shape_border_radius_15"
android:backgroundTint="@color/g_10"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/layout_plan_summary_confirmation_card_top">

<ImageView
android:id="@+id/iv_plan_summary_confirmation_calendar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing24"
android:layout_marginTop="29dp"
android:src="@drawable/ic_all_calendar_24"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<TextView
android:id="@+id/tv_plan_summary_confirmation_calender_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/plan_summary_confirmation_date"
android:textAppearance="@style/TextAppearance.Pingle.Body.Semi.14"
android:textColor="@color/g_01"
app:layout_constraintBottom_toBottomOf="@id/iv_plan_summary_confirmation_calendar"
app:layout_constraintStart_toEndOf="@id/iv_plan_summary_confirmation_calendar"
app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_calendar" />

<TextView
Copy link
Collaborator

Choose a reason for hiding this comment

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

텍스트 최대 길이 확인해주시고 반영해주세요.

android:id="@+id/tv_plan_summary_confirmation_calender_detail"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="50dp"
android:textAppearance="@style/TextAppearance.Pingle.Body.Med.14"
android:textColor="@color/g_03"
app:layout_constraintStart_toEndOf="@id/tv_plan_summary_confirmation_calender_title"
app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_calendar"
tools:text="0000년 00월 00일\n00:00 ~ 00:00" />

<ImageView
android:id="@+id/iv_plan_summary_confirmation_map"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing24"
android:layout_marginTop="@dimen/spacing14"
android:src="@drawable/ic_all_map_24"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_plan_summary_confirmation_calender_detail" />

<TextView
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 텍스트 최대 길이 확인해주시고 적용해주세요

android:id="@+id/tv_plan_summary_confirmation_map_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/plan_summary_confirmation_location"
android:textAppearance="@style/TextAppearance.Pingle.Body.Semi.14"
android:textColor="@color/g_01"
app:layout_constraintBottom_toBottomOf="@id/iv_plan_summary_confirmation_map"
app:layout_constraintStart_toEndOf="@id/iv_plan_summary_confirmation_map"
Copy link
Collaborator

Choose a reason for hiding this comment

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

startToStartOf로 일시 텍스트에 제약 주세요 아래 모집인원 상세 정보도 마찬가지

app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_map" />

<TextView
Copy link
Collaborator

Choose a reason for hiding this comment

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

가운데 정렬 아니에요 피그마 다시 확인하고 수정해주세요

android:id="@+id/tv_plan_summary_confirmation_map_detail"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="50dp"
android:textAppearance="@style/TextAppearance.Pingle.Body.Med.14"
android:textColor="@color/g_03"
app:layout_constraintBottom_toBottomOf="@id/tv_plan_summary_confirmation_map_title"
app:layout_constraintStart_toEndOf="@id/tv_plan_summary_confirmation_map_title"
app:layout_constraintTop_toTopOf="@id/tv_plan_summary_confirmation_map_title"
tools:text="장소 이름" />

<ImageView
android:id="@+id/iv_plan_summary_confirmation_recruitment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing24"
android:layout_marginTop="@dimen/spacing20"
android:layout_marginBottom="@dimen/spacing30"
android:src="@drawable/ic_all_user_24"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/iv_plan_summary_confirmation_map" />

<TextView
android:id="@+id/tv_plan_summary_confirmation_recruitment_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/plan_summary_confirmation_recruitment"
android:textAppearance="@style/TextAppearance.Pingle.Body.Semi.14"
android:textColor="@color/g_01"
app:layout_constraintBottom_toBottomOf="@id/iv_plan_summary_confirmation_recruitment"
app:layout_constraintStart_toEndOf="@id/iv_plan_summary_confirmation_recruitment"
app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_recruitment" />

<TextView
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 텍스트 최대 길이 확인해주시고 적용해주세요

android:id="@+id/tv_plan_summary_confirmation_recruitment_detail"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="26dp"
android:textAppearance="@style/TextAppearance.Pingle.Body.Med.14"
android:textColor="@color/g_03"
app:layout_constraintBottom_toBottomOf="@id/tv_plan_summary_confirmation_recruitment_title"
app:layout_constraintStart_toEndOf="@id/tv_plan_summary_confirmation_recruitment_title"
app:layout_constraintTop_toTopOf="@id/tv_plan_summary_confirmation_recruitment_title"
tools:text="0명" />
</androidx.constraintlayout.widget.ConstraintLayout>

<View
android:id="@+id/view_plan_summary_confirmation_middle_line"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginHorizontal="21dp"
android:background="@color/g_07"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/layout_plan_summary_confirmation_card_top" />

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
7 changes: 7 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
<!-- construction -->
<string name="construction_title">아직 공사중!</string>
<string name="construction_detail">아직 구현중인 기능이에요\n조금만 기다려주세요</string>

<!-- plan Summary Confirmation -->
<string name="plan_summary_confirmation_title">핑글을 개최할\n준비 되었나요?</string>
<string name="plan_summary_confirmation_date">일시</string>
<string name="plan_summary_confirmation_location">장소</string>
<string name="plan_summary_confirmation_recruitment">모집인원</string>
<string name="plan_summary_confirmation_recruitment_number">%1$s명</string>
]
Copy link
Collaborator

Choose a reason for hiding this comment

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

이건 뭔가요

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

string 동적으로 넣어줄 때 첫번째 매개변수라는 뜻인데 여기서는 하나밖에 없으니까 그냥 %s로 변경하겠습니당~

<!-- plan Recruitment -->
<string name="plan_recruitment_title">몇 명의 핑글러들과\n만날까요?</string>
Expand Down
Loading
Loading