小编use*_*811的帖子

如何在样本软键盘中提交候选项?

在该函数中pickSuggestionManually(int index) ,注释文档说明如下:

// If we were generating candidate suggestions for the current
// text, we would commit one of them here.  But for this sample,
// we will just commit the current text.
commitTyped(getCurrentInputConnection());
Run Code Online (Sandbox Code Playgroud)

现在,如何提交一个候选建议?

有人可以帮忙吗?

问候,Sayantan

android android-softkeyboard

1
推荐指数
1
解决办法
632
查看次数

标签 统计

android ×1

android-softkeyboard ×1