Skip to content

Commit

Permalink
#60 [MOD] : title focusable 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonji-sw committed Sep 3, 2024
1 parent c61843d commit cb5f485
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ class PostingFragment : BindingFragment<FragmentPostingBinding>(FragmentPostingB
}

private fun showKeyboard() {
binding.etPostingContent.requestFocus()
binding.etPostingTitle.requestFocus()

val inputMethodManager =
requireContext().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
inputMethodManager.showSoftInput(binding.etPostingContent, InputMethodManager.SHOW_IMPLICIT)
inputMethodManager.showSoftInput(binding.etPostingTitle, InputMethodManager.SHOW_IMPLICIT)
}

private fun initBackBtnClickListener() {
Expand Down

0 comments on commit cb5f485

Please sign in to comment.