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

6
LINES

< > BotCompany Repo | #1023337 // aTempSetText

JavaX fragment (include)

static AutoCloseable aTempSetText(final TextView tv, fS text) {
  if (tv == null) null;
  fS oldText = aGetText(tv);
  aSetText(tv, text);
  ret autoCloseable { aSetText(tv, oldText); };
}

Author comment

Began life as a copy of #1008232

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: #1023337
Snippet name: aTempSetText
Eternal ID of this version: #1023337/3
Text MD5: c3bcd10ba78e542f45b2a46f0937661a
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:11:28
Source code size: 193 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 164 / 199
Version history: 2 change(s)
Referenced in: [show references]