mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-28 10:10:31 +00:00
cleanup naming conventions
This commit is contained in:
9 files changed
+254
-253
No files matched your search
@@ -7,9 +7,9 @@ import androidx.appcompat.widget.AppCompatEditText
|
||||
class Cocos2dxEditText(context: Context) : AppCompatEditText(context) {
|
||||
var cocos2dxGLSurfaceView: Cocos2dxGLSurfaceView? = null
|
||||
|
||||
override fun onKeyDown(pKeyCode: Int, pKeyEvent: KeyEvent): Boolean {
|
||||
super.onKeyDown(pKeyCode, pKeyEvent)
|
||||
if (pKeyCode != KeyEvent.KEYCODE_BACK) {
|
||||
override fun onKeyDown(keyCode: Int, keyEvent: KeyEvent): Boolean {
|
||||
super.onKeyDown(keyCode, keyEvent)
|
||||
if (keyCode != KeyEvent.KEYCODE_BACK) {
|
||||
return true
|
||||
}
|
||||
cocos2dxGLSurfaceView?.requestFocus()
|
||||
|
||||
Reference in new issue
Block a user