static <A> A androidEvalInUIThread(final F0<A> f) { final new Var<A> v; final new Var<Throwable> error; androidUI_wait(r { try { v.set(callF(f)); } catch e { error.set(e); } }); if (error.has()) throw rethrow(error!); else ret v!; }
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: | #1014860 |
Snippet name: | androidEvalInUIThread |
Eternal ID of this version: | #1014860/3 |
Text MD5: | 542e15ec9af73f11799468cf3d9e890a |
Author: | stefan |
Category: | javax / android |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-05 17:37:26 |
Source code size: | 277 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 419 / 447 |
Version history: | 2 change(s) |
Referenced in: | [show references] |