Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1018359 // dm_fieldLiveValueWithNotify

JavaX fragment (include)

static SimpleLiveValue dm_fieldLiveValueWithNotify(S fieldName, Runnable onChange) {
  ret dm_fieldLiveValueWithNotify(dm_current_mandatory(), fieldName, onChange);
}

static SimpleLiveValue dm_fieldLiveValueWithNotify(DynModule module, fS fieldName, Runnable onChange) {
  SimpleLiveValue lv = dm_fieldLiveValue(module, fieldName);
  lv.onChange(onChange);
  ret lv;
}

Author comment

Began life as a copy of #1015971

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018359
Snippet name: dm_fieldLiveValueWithNotify
Eternal ID of this version: #1018359/2
Text MD5: 1516d4650fcfa3f3b0d9915562c48db5
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-20 13:28:53
Source code size: 377 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 383 / 401
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)