def METHOD_NAME(self,parent) :
    parent.set_flex_flow(lv.FLEX_FLOW.COLUMN)
    ta1 = lv.textarea(parent)
    ta1.set_width(lv.pct(100))
    ta1.set_one_line(True)
    ta1.set_placeholder_text("Click with an encoder to show a keyboard")
    ta2 = lv.textarea(parent)
    ta2.set_width(lv.pct(100))
    ta2.set_one_line(True)
    ta2.set_placeholder_text("Type something")
    self.kb = lv.keyboard(lv.scr_act())
    self.kb.add_flag(lv.obj.FLAG.HIDDEN)
    ta1.add_event(self.ta_event_cb, lv.EVENT.ALL, None)
    ta2.add_event(self.ta_event_cb, lv.EVENT.ALL, None)