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

3
LINES

< > BotCompany Repo | #1023341 // aFocus - focus a component

JavaX fragment (include)

svoid aFocus(final View view) {
  if (view != null) androidUI { view.requestFocus(); }
}

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: #1023341
Snippet name: aFocus - focus a component
Eternal ID of this version: #1023341/1
Text MD5: 506db7c1f03026f080f226f34a7be303
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 16:43:58
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 276
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1023342 - aSelectAll - select all text in text input