MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getEditText

Function getEditText

packages/core/ui/list-picker/index.android.ts:57–66  ·  view source on GitHub ↗
(picker: android.widget.NumberPicker)

Source from the content-addressed store, hash-verified

55}
56
57function getEditText(picker: android.widget.NumberPicker): android.widget.EditText {
58 for (let i = 0, count = picker.getChildCount(); i < count; i++) {
59 const child = picker.getChildAt(i);
60 if (child instanceof android.widget.EditText) {
61 return child;
62 }
63 }
64
65 return null;
66}
67
68let selectorWheelPaintField: java.lang.reflect.Field;
69function getSelectorWheelPaint(picker: android.widget.NumberPicker): android.graphics.Paint {

Callers 1

initNativeViewMethod · 0.85

Calls 1

getChildAtMethod · 0.65

Tested by

no test coverage detected