1 | static <A extends View> A aSetBackground(final int color, final A a) { |
2 | if (a != null) androidUI(r { a.setBackgroundColor(color) }); |
3 | ret a; |
4 | } |
5 | |
6 | static <A extends View> A aSetBackground(A a, int color) { |
7 | ret aSetBackground(color, a); |
8 | } |
Began life as a copy of #1014884
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: | #1023268 |
Snippet name: | aSetBackground |
Eternal ID of this version: | #1023268/2 |
Text MD5: | 6266a0a13f387e5cfc5af3cc17d296e5 |
Author: | stefan |
Category: | javax / android |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-21 14:07:02 |
Source code size: | 241 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 273 / 306 |
Version history: | 1 change(s) |
Referenced in: | [show references] |