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

15
LINES

< > BotCompany Repo | #1014869 // androidUI_wait

JavaX fragment (include)

static void androidUI_wait(fO r) {
  final new Flag done;
  androidUI_noWait(r {
    try {
      callF(r);
    } finally {
      done.raise();
    }
  });
  done.waitUntilUp();
}

static <A> A androidUI_wait(F0<A> f) {
  ret androidEvalInUIThread(f);
}

Author comment

Began life as a copy of #1004465

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014869
Snippet name: androidUI_wait
Eternal ID of this version: #1014869/3
Text MD5: 6f8171057256fc01aba0f0c3a0d7a35d
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-05 23:04:26
Source code size: 266 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 361 / 396
Version history: 2 change(s)
Referenced in: [show references]