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

5
LINES

< > BotCompany Repo | #1014896 // aSetImageFromFile

JavaX fragment (include)

static void aSetImageFromFile(final ImageView iv, final File image) {
  androidUI(r {
    iv.setImageBitmap(BitmapFactory.decodeFile(f2s(image)));
  });
}

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: #1014896
Snippet name: aSetImageFromFile
Eternal ID of this version: #1014896/2
Text MD5: 4ec30160eb85aa539f80a55bbcd04e43
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 10:03:07
Source code size: 158 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 238 / 277
Version history: 1 change(s)
Referenced in: [show references]