android listview item edittext not  softkeyboard  


edittext可以获取焦点, 可以触发事件, 但是就是不能调用输入法, 不知道为什么?

难道不能在item中嵌套编辑框吗? 


网上搜到大都是 这样的答案:

InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
                                imm.hideSoftInputFromWindow(number.getWindowToken(), 0);

但是, 不能解决我出现的问题.




暂时,还没有找到解决的方法. 

最后使用了弹出对话框,来实现想要的功能, 这个问题有待解决先mark下

待续 .. . 

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2021-12-10
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2021-08-21
  • 2022-01-04
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案