!752 concepts. concept UserLine { S text; *() {} *(S *text) { change(); } } concept SystemAnswer { new Ref userLine; S text; } static EditText tf; static ASingleComponentPanel scp; static UserLine userLine; static SystemAnswer systemAnswer; p-android { loadAndAutoSaveConcepts(); androidShow(aNorthAndCenter( tf = aCenteredTextField("What is love?"), scp = new ASingleComponentPanel(aCenteredHtmlLabel("Yo!")))); aOnEnter(tf, r { S s = str(tf.getText()).trim(); userLine = new UserLine(s); S answer = "Yeah. " + s; systemAnswer = cnew(SystemAnswer, +userLine, "text", answer); scp.setComponent(aCenteredHtmlLabel(htmlencode(answer))); }); }