MCPcopy Create free account
hub / github.com/AshampooSystems/boden / focus

Method focus

framework/ui/platforms/android/src/TextFieldCore.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 void TextFieldCore::focus()
53 {
54 _jEditText.requestFocus();
55
56 bdn::android::wrapper::InputMethodManager inputManager(
57 _jEditText.getContext().getSystemService(bdn::android::wrapper::Context::INPUT_METHOD_SERVICE).getRef_());
58 inputManager.showSoftInput(_jEditText.cast<bdn::android::wrapper::View>(), 0);
59 }
60
61 void TextFieldCore::beforeTextChanged(const std::string &string, int start, int count, int after) {}
62

Callers

nothing calls this directly

Calls 1

getRef_Method · 0.80

Tested by

no test coverage detected