Skip to content

Conversation

@Robalim
Copy link
Contributor

@Robalim Robalim commented May 30, 2023

private fun initView(currentRoot: ViewGroup) {
val context = currentRoot.context
val inflater = LayoutInflater.from(context)
val imm = (context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager?)
Copy link
Collaborator

Choose a reason for hiding this comment

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

лишние скобки ()

}

private fun restoreKeyboard() {
typingView?.requestFocus()
Copy link
Collaborator

Choose a reason for hiding this comment

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

typingView?.let {
...
}

inAppCallback.onInAppDismissed(wrapper.inAppType.inAppId)
mindboxLogD("In-app dismissed")

restoreKeyboard()
Copy link
Collaborator

Choose a reason for hiding this comment

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

почему просто внутри hide() не выдывать?

private var currentHolder: InAppViewHolder<*>? = null
private var pausedHolder: InAppViewHolder<*>? = null


Copy link
Collaborator

Choose a reason for hiding this comment

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

Не делай рефакторинг в тех файлах, где не делаешь изменений. Это мусорит историю

@Robalim Robalim merged commit a44e81a into develop May 31, 2023
@Robalim Robalim deleted the feature/MBX-keyboard_inapp_managing branch May 31, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants