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

5
LINES

< > BotCompany Repo | #1023338 // aTempDisable [dev.]

JavaX fragment (include)

static AutoCloseable aTempDisable(final View v) {
  if (v == null || !v.isEnabled()) null;
  aDisable(v);
  ret autoCloseable { aEnable(v); };
}

Author comment

Began life as a copy of #1023337

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023338
Snippet name: aTempDisable [dev.]
Eternal ID of this version: #1023338/1
Text MD5: 3cd9710d09a5751d52f1b111d0570004
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-06 14:14:39
Source code size: 148 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 220
Referenced in: [show references]