Simplified
- getting miniKeyboardContainer from mMiniKeyboardCache[popupKey] - getting miniKeyboardView using view binding - comment removed
This commit is contained in:
parent
59de752615
commit
a08a63e468
|
@ -1025,9 +1025,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||||
)
|
)
|
||||||
mMiniKeyboardCache[popupKey] = mMiniKeyboardContainer
|
mMiniKeyboardCache[popupKey] = mMiniKeyboardContainer
|
||||||
} else {
|
} else {
|
||||||
//Using 'miniKeyboardView' from cache
|
|
||||||
mMiniKeyboard = mMiniKeyboardCache[popupKey]?.let(KeyboardPopupKeyboardBinding::bind)?.miniKeyboardView
|
mMiniKeyboard = mMiniKeyboardCache[popupKey]?.let(KeyboardPopupKeyboardBinding::bind)?.miniKeyboardView
|
||||||
?: keyboardPopupBinding!!.miniKeyboardView
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getLocationInWindow(mCoordinates)
|
getLocationInWindow(mCoordinates)
|
||||||
|
|
Loading…
Reference in New Issue