Skip to content

Commit

Permalink
[Merge] hide-keyboard-create-course -> develop
Browse files Browse the repository at this point in the history
[FEAT] 코스 그리기 / 코스 제목 입력 후 키보드 내리기
  • Loading branch information
unam98 authored Nov 12, 2023
2 parents 183662a + ea6f52e commit 1cf1a81
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.runnect.runnect.presentation.draw

import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.Color
Expand All @@ -11,6 +12,7 @@ import android.view.View
import android.view.ViewGroup
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import android.view.inputmethod.InputMethodManager
import android.widget.Toast
import androidx.activity.viewModels
import androidx.core.content.FileProvider
Expand Down Expand Up @@ -45,6 +47,7 @@ import com.runnect.runnect.presentation.countdown.CountDownActivity
import com.runnect.runnect.presentation.login.LoginActivity
import com.runnect.runnect.presentation.state.UiState
import com.runnect.runnect.util.DepartureSetMode
import com.runnect.runnect.util.extension.hideKeyboard
import com.runnect.runnect.util.extension.setActivityDialog
import com.runnect.runnect.util.multipart.ContentUriRequestBody
import dagger.hilt.android.AndroidEntryPoint
Expand Down Expand Up @@ -310,13 +313,15 @@ class DrawActivity :
Timber.tag("EditTextValue").d("${viewModel.departureName.value}")
}

val bottomSheetDialog = BottomSheetDialog(this)
bottomSheetDialog.setContentView(bottomSheetView)

btnCreateCourse.setOnClickListener {
hideKeyboard(etCourseName)
bottomSheetDialog.dismiss()
createMbr()
}

val bottomSheetDialog = BottomSheetDialog(this)
bottomSheetDialog.setContentView(bottomSheetView)

return bottomSheetDialog
}

Expand Down

0 comments on commit 1cf1a81

Please sign in to comment.