Skip to content

setOnKeyListener #8

@VW-LAMANDO

Description

@VW-LAMANDO

你好,

android sdk中关于这个方法中的说明
/**
* Register a callback to be invoked when a hardware key is pressed in this view.
* Key presses in software input methods will generally not trigger the methods of
* this listener.
* @param l the key listener to attach to this view
*/

但是在您的代码中,监控IME事件是通过这个方法来实现的,我发现偶尔情况下,IME的事件是无法传送到 View中的,也就是说我在IME上点击任意数字,但是View中没有任何效果。

期待您的回复

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions