From 43d0b6932560e755bea63c38b60e24fd059719f3 Mon Sep 17 00:00:00 2001 From: Sangho Kim Date: Sun, 27 Oct 2024 23:18:06 +0900 Subject: [PATCH 1/5] =?UTF-8?q?[CHORE/#147]=20version=20code=20v1.1.5=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildSrc/src/main/kotlin/Constants.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/Constants.kt b/buildSrc/src/main/kotlin/Constants.kt index f0c17f76..6d506faa 100644 --- a/buildSrc/src/main/kotlin/Constants.kt +++ b/buildSrc/src/main/kotlin/Constants.kt @@ -3,6 +3,6 @@ object Constants { const val compileSdk = 34 const val minSdk = 28 const val targetSdk = 34 - const val versionCode = 11 - const val versionName = "1.1.4" + const val versionCode = 12 + const val versionName = "1.1.5" } From 93209ff80d57aecfcd5ba14637dfe9ccf0bc0d39 Mon Sep 17 00:00:00 2001 From: Sangho Kim Date: Sun, 27 Oct 2024 23:38:59 +0900 Subject: [PATCH 2/5] =?UTF-8?q?[FEAT/#147]=20=ED=8C=90=EB=A7=A4=20?= =?UTF-8?q?=ED=99=95=EC=A0=95=20=EC=95=8C=EB=9F=AC=ED=8A=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/res/values/strings.xml | 5 ++ .../sell/confirm/SellConfirmActivity.kt | 32 ++------ .../orange/sell/confirm/SellConfirmDialog.kt | 81 +++++++++++++++++++ .../main/res/layout/dialog_sell_confirm.xml | 70 ++++++++++++++++ 4 files changed, 164 insertions(+), 24 deletions(-) create mode 100644 feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmDialog.kt create mode 100644 feature/sell/src/main/res/layout/dialog_sell_confirm.xml diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 1f5dca78..dabcea53 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -217,6 +217,11 @@ 복사 판매 확정을 완료했습니다. + 판매 확정하시겠습니까? + 카카오톡 선물하기에 모든 정보를\n정확히 입력하셨나요? + 네, 입력했습니다 + 다시 확인하기 + 본인 인증을\n진행해주세요 본인 명의의 휴대폰 번호로 인증을 진행해주세요 이름 diff --git a/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmActivity.kt b/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmActivity.kt index 82b122ff..9b391372 100644 --- a/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmActivity.kt +++ b/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmActivity.kt @@ -11,12 +11,10 @@ import androidx.core.view.isVisible import androidx.lifecycle.flowWithLifecycle import androidx.lifecycle.lifecycleScope import co.orange.core.R -import co.orange.core.amplitude.AmplitudeManager import co.orange.core.base.BaseActivity import co.orange.core.extension.setOnSingleClickListener import co.orange.core.extension.stringOf import co.orange.core.extension.toast -import co.orange.core.navigation.NavigationManager import co.orange.core.state.UiState import co.orange.domain.entity.response.SellBuyerInfoModel import co.orange.sell.databinding.ActivitySellConfirmBinding @@ -24,17 +22,16 @@ import dagger.hilt.android.AndroidEntryPoint import kotlinx.coroutines.flow.distinctUntilChanged import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.onEach -import javax.inject.Inject import co.orange.sell.R as featureR @AndroidEntryPoint class SellConfirmActivity : BaseActivity(featureR.layout.activity_sell_confirm) { - @Inject - lateinit var navigationManager: NavigationManager private val viewModel by viewModels() + private var sellConfirmDialog: SellConfirmDialog? = null + override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) @@ -43,7 +40,6 @@ class SellConfirmActivity : initConfirmBtnListener() getIntentInfo() observeGetBuyerInfoState() - observePatchOrderConfirmState() } private fun initBackBtnListener() { @@ -60,7 +56,8 @@ class SellConfirmActivity : private fun initConfirmBtnListener() { binding.btnConfirm.setOnSingleClickListener { - viewModel.patchOrderConfirmToServer() + sellConfirmDialog = SellConfirmDialog() + sellConfirmDialog?.show(supportFragmentManager, DIALOG_CONFIRM) } } @@ -117,23 +114,9 @@ class SellConfirmActivity : clipboardManager.setPrimaryClip(ClipData.newPlainText(CLIP_LABEL, text)) } - private fun observePatchOrderConfirmState() { - viewModel.patchOrderConfirmState.flowWithLifecycle(lifecycle).distinctUntilChanged() - .onEach { state -> - when (state) { - is UiState.Success -> { - AmplitudeManager.apply { - plusIntProperty("user_selling_count", 1) - plusIntProperty("user_selling_total", viewModel.totalPrice) - } - toast(stringOf(R.string.sell_order_fix_msg)) - navigationManager.toMainViewWIthClearing(this) - } - - is UiState.Failure -> toast(stringOf(R.string.error_msg)) - else -> return@onEach - } - }.launchIn(lifecycleScope) + override fun onDestroy() { + super.onDestroy() + sellConfirmDialog = null } companion object { @@ -141,6 +124,7 @@ class SellConfirmActivity : private const val EXTRA_TOTAL_PRICE = "EXTRA_TOTAL_PRICE" private const val CLIP_LABEL = "BUYER_INFO" + private const val DIALOG_CONFIRM = "DIALOG_CONFIRM" const val WEB_TERM_SELL = "https://brawny-guan-098.notion.site/6d77260d027148ceb0f806f0911c284a?pvs=4" diff --git a/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmDialog.kt b/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmDialog.kt new file mode 100644 index 00000000..89542466 --- /dev/null +++ b/feature/sell/src/main/java/co/orange/sell/confirm/SellConfirmDialog.kt @@ -0,0 +1,81 @@ +package co.orange.sell.confirm + +import android.os.Bundle +import android.view.View +import android.view.WindowManager +import androidx.fragment.app.activityViewModels +import androidx.lifecycle.flowWithLifecycle +import androidx.lifecycle.lifecycleScope +import co.orange.core.R +import co.orange.core.amplitude.AmplitudeManager +import co.orange.core.base.BaseDialog +import co.orange.core.extension.setOnSingleClickListener +import co.orange.core.extension.stringOf +import co.orange.core.extension.toast +import co.orange.core.navigation.NavigationManager +import co.orange.core.state.UiState +import co.orange.sell.databinding.DialogSellConfirmBinding +import kotlinx.coroutines.flow.distinctUntilChanged +import kotlinx.coroutines.flow.launchIn +import kotlinx.coroutines.flow.onEach +import javax.inject.Inject +import co.orange.sell.R as featureR + +class SellConfirmDialog : + BaseDialog(featureR.layout.dialog_sell_confirm) { + @Inject + lateinit var navigationManager: NavigationManager + + private val viewModel by activityViewModels() + + override fun onStart() { + super.onStart() + dialog?.window?.apply { + setLayout( + WindowManager.LayoutParams.WRAP_CONTENT, + WindowManager.LayoutParams.WRAP_CONTENT, + ) + setBackgroundDrawableResource(R.color.transparent) + } + } + + override fun onViewCreated( + view: View, + savedInstanceState: Bundle?, + ) { + super.onViewCreated(view, savedInstanceState) + + initReturnBtnListener() + initConfirmBtnListener() + observePatchOrderConfirmState() + } + + private fun initReturnBtnListener() { + binding.btnReturn.setOnSingleClickListener { dismiss() } + } + + private fun initConfirmBtnListener() { + binding.btnConfirm.setOnSingleClickListener { + viewModel.patchOrderConfirmToServer() + } + } + + private fun observePatchOrderConfirmState() { + viewModel.patchOrderConfirmState.flowWithLifecycle(lifecycle).distinctUntilChanged() + .onEach { state -> + when (state) { + is UiState.Success -> { + AmplitudeManager.apply { + plusIntProperty("user_selling_count", 1) + plusIntProperty("user_selling_total", viewModel.totalPrice) + } + toast(stringOf(R.string.sell_order_fix_msg)) + navigationManager.toMainViewWIthClearing(requireContext()) + } + + is UiState.Failure -> toast(stringOf(R.string.error_msg)) + else -> return@onEach + } + }.launchIn(lifecycleScope) + } +} diff --git a/feature/sell/src/main/res/layout/dialog_sell_confirm.xml b/feature/sell/src/main/res/layout/dialog_sell_confirm.xml new file mode 100644 index 00000000..e6dd0dfd --- /dev/null +++ b/feature/sell/src/main/res/layout/dialog_sell_confirm.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 32c1b5ddb01c721aaba24b4b1821e493cc82d732 Mon Sep 17 00:00:00 2001 From: Sangho Kim Date: Tue, 29 Oct 2024 17:34:36 +0900 Subject: [PATCH 3/5] =?UTF-8?q?[FIX/#147]=20=ED=8C=90=EB=A7=A4=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EB=B7=B0=20=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/res/drawable/img_menu.png | Bin 0 -> 365 bytes .../java/co/orange/sell/info/SellInfoActivity.kt | 2 +- .../src/main/res/layout/activity_sell_info.xml | 13 ++++++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 core/src/main/res/drawable/img_menu.png diff --git a/core/src/main/res/drawable/img_menu.png b/core/src/main/res/drawable/img_menu.png new file mode 100644 index 0000000000000000000000000000000000000000..b67022ec967bf036a8791728bc58ad3d377a5ceb GIT binary patch literal 365 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY1|&n@ZgvM!oCO|{#S9FJ79h;%I?XTvD9BhG zF7Ti^1e##^M6(SiC5NLx~%KZ1T>3bL7LU7_JyfwlF_@S?M+R$ zHym}vVlQc*cF=w9zf=F^?@jwwMEHG6-=|kE@^{J^ zU18Dhlj^IYPe%f6Khfm2kugI=`+^2rh6uAs7o*fshTfzGH$%qWBqk|W28M=N3j=c) uq>geS$vG^RSP(featureR.layout.a val (infoMsgResId, btnTextResId, isButtonEnabled) = when (status) { ItemStatus.ON_SALE.name -> { - Triple(R.string.sell_info_msg_on_sale, R.string.sell_info_msg_cancel, true) + Triple(R.string.sell_info_msg_on_sale, R.string.sell_info_btn_fix, false) } ItemStatus.ORDER_PLACE.name -> { diff --git a/feature/sell/src/main/res/layout/activity_sell_info.xml b/feature/sell/src/main/res/layout/activity_sell_info.xml index 33951547..c3a6ea63 100644 --- a/feature/sell/src/main/res/layout/activity_sell_info.xml +++ b/feature/sell/src/main/res/layout/activity_sell_info.xml @@ -35,10 +35,21 @@ android:id="@+id/btn_exit" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" android:padding="12dp" android:src="@drawable/ic_exit" app:layout_constraintBottom_toBottomOf="@id/tv_info_title" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="@id/tv_info_title" /> + + From 875a25d626163f6d5d85a90aa8a171bf3e7e3b55 Mon Sep 17 00:00:00 2001 From: Sangho Kim Date: Tue, 29 Oct 2024 18:09:21 +0900 Subject: [PATCH 4/5] =?UTF-8?q?[FEAT/#147]=20=ED=8C=90=EB=A7=A4=20?= =?UTF-8?q?=EC=B7=A8=EC=86=8C=20=EB=B0=94=ED=85=80=EC=8B=9C=ED=8A=B8,=20?= =?UTF-8?q?=EB=8B=A4=EC=9D=B4=EC=96=BC=EB=A1=9C=EA=B7=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/res/values/strings.xml | 5 ++ .../co/orange/sell/info/SellDeleteDialog.kt | 76 +++++++++++++++++++ .../co/orange/sell/info/SellInfoActivity.kt | 43 ++++------- .../co/orange/sell/info/SellInfoViewModel.kt | 2 - .../orange/sell/info/SellMenuBottomSheet.kt | 36 +++++++++ .../res/layout/bottom_sheet_sell_menu.xml | 40 ++++++++++ .../main/res/layout/dialog_sell_delete.xml | 56 ++++++++++++++ 7 files changed, 226 insertions(+), 32 deletions(-) create mode 100644 feature/sell/src/main/java/co/orange/sell/info/SellDeleteDialog.kt create mode 100644 feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt create mode 100644 feature/sell/src/main/res/layout/bottom_sheet_sell_menu.xml create mode 100644 feature/sell/src/main/res/layout/dialog_sell_delete.xml diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index dabcea53..27c7c916 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -206,6 +206,11 @@ 입금 완료 판매 확정하기 배송 중인 상품입니다. + + 판매 취소하기 + 판매 취소 + 정말 판매 취소를 하시겠습니까? + 확인 상품 판매가 취소되었습니다. 판매 확정 diff --git a/feature/sell/src/main/java/co/orange/sell/info/SellDeleteDialog.kt b/feature/sell/src/main/java/co/orange/sell/info/SellDeleteDialog.kt new file mode 100644 index 00000000..0071c4df --- /dev/null +++ b/feature/sell/src/main/java/co/orange/sell/info/SellDeleteDialog.kt @@ -0,0 +1,76 @@ +package co.orange.sell.info + +import android.os.Bundle +import android.view.View +import android.view.WindowManager +import androidx.activity.viewModels +import androidx.fragment.app.activityViewModels +import androidx.lifecycle.flowWithLifecycle +import androidx.lifecycle.lifecycleScope +import co.orange.core.base.BaseDialog +import co.orange.core.extension.setOnSingleClickListener +import co.orange.core.extension.stringOf +import co.orange.core.extension.toast +import co.orange.core.navigation.NavigationManager +import co.orange.core.state.UiState +import co.orange.sell.R +import co.orange.sell.databinding.DialogBankBinding +import co.orange.sell.databinding.DialogSellDeleteBinding +import co.orange.sell.progress.SellProgressViewModel +import dagger.hilt.android.AndroidEntryPoint +import kotlinx.coroutines.flow.distinctUntilChanged +import kotlinx.coroutines.flow.launchIn +import kotlinx.coroutines.flow.onEach +import javax.inject.Inject + +@AndroidEntryPoint +class SellDeleteDialog : + BaseDialog(R.layout.dialog_sell_delete) { + + private val viewModel by activityViewModels() + + override fun onStart() { + super.onStart() + dialog?.window?.apply { + setLayout( + WindowManager.LayoutParams.WRAP_CONTENT, + WindowManager.LayoutParams.WRAP_CONTENT, + ) + setBackgroundDrawableResource(co.orange.core.R.color.transparent) + } + } + + override fun onViewCreated( + view: View, + savedInstanceState: Bundle?, + ) { + super.onViewCreated(view, savedInstanceState) + + initDeleteBtnListener() + observeDeleteItemState() + } + + private fun initDeleteBtnListener() { + binding.btnSellDelete.setOnSingleClickListener { + viewModel.deleteSellingItemFromServer() + } + } + + private fun observeDeleteItemState() { + viewModel.deleteItemState + .flowWithLifecycle(lifecycle) + .distinctUntilChanged() + .onEach { state -> + when (state) { + is UiState.Success -> { + toast(stringOf(co.orange.core.R.string.sell_delete_success_toast)) + requireActivity().finish() + dismiss() + } + + is UiState.Failure -> toast(stringOf(co.orange.core.R.string.error_msg)) + else -> return@onEach + } + }.launchIn(lifecycleScope) + } +} diff --git a/feature/sell/src/main/java/co/orange/sell/info/SellInfoActivity.kt b/feature/sell/src/main/java/co/orange/sell/info/SellInfoActivity.kt index e109ecca..21a23092 100644 --- a/feature/sell/src/main/java/co/orange/sell/info/SellInfoActivity.kt +++ b/feature/sell/src/main/java/co/orange/sell/info/SellInfoActivity.kt @@ -31,14 +31,16 @@ import co.orange.sell.R as featureR class SellInfoActivity : BaseActivity(featureR.layout.activity_sell_info) { private val viewModel by viewModels() + private var sellMenuBottomSheet: SellMenuBottomSheet? = null + override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) initExitBtnListener() initSellConfirmBtnListener() + initMenuBtnListener() getIntentInfo() observeGetSellInfoState() - observeDeleteItemState() } private fun initExitBtnListener() { @@ -47,17 +49,16 @@ class SellInfoActivity : BaseActivity(featureR.layout.a private fun initSellConfirmBtnListener() { binding.btnSellConfirm.setOnSingleClickListener { - if (viewModel.isOnSale) { - viewModel.deleteSellingItemFromServer() - } else { - startActivity( - SellConfirmActivity.createIntent( - this, - viewModel.orderId, - viewModel.totalPrice, - ), - ) - } + startActivity( + SellConfirmActivity.createIntent(this, viewModel.orderId, viewModel.totalPrice), + ) + } + } + + private fun initMenuBtnListener() { + binding.btnMenu.setOnSingleClickListener { + sellMenuBottomSheet = SellMenuBottomSheet() + sellMenuBottomSheet?.show(supportFragmentManager, sellMenuBottomSheet?.tag) } } @@ -106,7 +107,6 @@ class SellInfoActivity : BaseActivity(featureR.layout.a } private fun setItemStatus(status: String) { - viewModel.isOnSale = status == ItemStatus.ON_SALE.name val (infoMsgResId, btnTextResId, isButtonEnabled) = when (status) { ItemStatus.ON_SALE.name -> { @@ -156,23 +156,6 @@ class SellInfoActivity : BaseActivity(featureR.layout.a } } - private fun observeDeleteItemState() { - viewModel.deleteItemState - .flowWithLifecycle(lifecycle) - .distinctUntilChanged() - .onEach { state -> - when (state) { - is UiState.Success -> { - toast(stringOf(R.string.sell_delete_success_toast)) - finish() - } - - is UiState.Failure -> toast(stringOf(R.string.error_msg)) - else -> return@onEach - } - }.launchIn(lifecycleScope) - } - companion object { private const val EXTRA_ITEM_ID = "EXTRA_ITEM_ID" diff --git a/feature/sell/src/main/java/co/orange/sell/info/SellInfoViewModel.kt b/feature/sell/src/main/java/co/orange/sell/info/SellInfoViewModel.kt index 1e29f270..8c2e51eb 100644 --- a/feature/sell/src/main/java/co/orange/sell/info/SellInfoViewModel.kt +++ b/feature/sell/src/main/java/co/orange/sell/info/SellInfoViewModel.kt @@ -21,8 +21,6 @@ class SellInfoViewModel var orderId = "" var totalPrice = 0 - var isOnSale = true - private val _getSellInfoState = MutableStateFlow>(UiState.Empty) val getSellInfoState: StateFlow> = _getSellInfoState diff --git a/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt b/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt new file mode 100644 index 00000000..04f25825 --- /dev/null +++ b/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt @@ -0,0 +1,36 @@ +package co.orange.sell.info + +import android.os.Bundle +import android.view.View +import co.orange.core.base.BaseBottomSheet +import co.orange.core.extension.setOnSingleClickListener +import co.orange.sell.R +import co.orange.sell.databinding.BottomSheetSellMenuBinding + +class SellMenuBottomSheet : + BaseBottomSheet(R.layout.bottom_sheet_sell_menu) { + + private var sellDeleteDialog: SellDeleteDialog? = null + + override fun onStart() { + super.onStart() + dialog?.window?.setBackgroundDrawableResource(co.orange.core.R.color.transparent) + } + + override fun onViewCreated( + view: View, + savedInstanceState: Bundle?, + ) { + super.onViewCreated(view, savedInstanceState) + + initSubmitBtnListener() + } + + private fun initSubmitBtnListener() { + binding.btnDelete.setOnSingleClickListener { + sellDeleteDialog = SellDeleteDialog() + sellDeleteDialog?.show(childFragmentManager, sellDeleteDialog?.tag) + dismiss() + } + } +} diff --git a/feature/sell/src/main/res/layout/bottom_sheet_sell_menu.xml b/feature/sell/src/main/res/layout/bottom_sheet_sell_menu.xml new file mode 100644 index 00000000..3397e050 --- /dev/null +++ b/feature/sell/src/main/res/layout/bottom_sheet_sell_menu.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + diff --git a/feature/sell/src/main/res/layout/dialog_sell_delete.xml b/feature/sell/src/main/res/layout/dialog_sell_delete.xml new file mode 100644 index 00000000..4fbc9764 --- /dev/null +++ b/feature/sell/src/main/res/layout/dialog_sell_delete.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file From c8b060387d6a389514872c4d406513a51b8bcde8 Mon Sep 17 00:00:00 2001 From: Sangho Kim Date: Tue, 29 Oct 2024 18:18:45 +0900 Subject: [PATCH 5/5] =?UTF-8?q?[FIX/#147]=20=ED=8C=90=EB=A7=A4=EC=B7=A8?= =?UTF-8?q?=EC=86=8C=20=EB=8B=A4=EC=9D=B4=EC=96=BC=EB=A1=9C=EA=B7=B8=20?= =?UTF-8?q?=EC=97=B0=EA=B2=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt b/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt index 04f25825..a191249a 100644 --- a/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt +++ b/feature/sell/src/main/java/co/orange/sell/info/SellMenuBottomSheet.kt @@ -30,7 +30,6 @@ class SellMenuBottomSheet : binding.btnDelete.setOnSingleClickListener { sellDeleteDialog = SellDeleteDialog() sellDeleteDialog?.show(childFragmentManager, sellDeleteDialog?.tag) - dismiss() } } }