在该函数中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