Skip to content

Commit

Permalink
[MERGE] #86 -> develop
Browse files Browse the repository at this point in the history
[FEAT/#86] 여행 생성 뷰
  • Loading branch information
crownjoe authored Jan 12, 2024
2 parents 934ab8e + 98ae36a commit 0124b7c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.going.presentation.enter

class FinishPreferenceActivity {
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.core.content.res.ResourcesCompat
import com.going.domain.entity.NameState
import com.going.presentation.R
import com.going.presentation.databinding.ActivityCreateTripBinding
import com.going.presentation.preferencetag.PreferenceTagActivity
import com.going.presentation.starttrip.StartTripSplashActivity
import com.going.ui.base.BaseActivity
import com.going.ui.extension.setOnSingleClickListener
Expand Down Expand Up @@ -174,9 +175,25 @@ class CreateTripActivity :

private fun initNextBtnClickListener() {
binding.btnCreateTripNext.setOnSingleClickListener {
//다음으로 넘어감
Intent(this, PreferenceTagActivity::class.java).apply {
putExtra(NAME, viewModel.name.value)
putExtra(START, viewModel.startYear.value)

putExtra(START, viewModel.startMonth.value)
putExtra(START, viewModel.startDay.value)
putExtra(END, viewModel.endYear.value)
putExtra(END, viewModel.endMonth.value)
putExtra(END, viewModel.endDay.value)
startActivity(this)
}
}
}

companion object {
const val NAME = "name"
const val START = "start"
const val END = "end"
}
}


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 0124b7c

Please sign in to comment.