-
Notifications
You must be signed in to change notification settings - Fork 6
adding keyboard hiding #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| private fun initView(currentRoot: ViewGroup) { | ||
| val context = currentRoot.context | ||
| val inflater = LayoutInflater.from(context) | ||
| val imm = (context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager?) |
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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 | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не делай рефакторинг в тех файлах, где не делаешь изменений. Это мусорит историю
https://github.com/orgs/mindbox-cloud/projects/69/views/1?pane=issue&itemId=28252601