Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6211db3

Browse filesBrowse files
authored
refactor: remove obsolete ViewHelper.setBackground method (#137)
1 parent 0973992 commit 6211db3
Copy full SHA for 6211db3

File tree

Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed

‎android/widgets/src/main/java/org/nativescript/widgets/ViewHelper.java

Copy file name to clipboardExpand all lines: android/widgets/src/main/java/org/nativescript/widgets/ViewHelper.java
-8Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,5 @@ public static void setLetterspacing(android.widget.TextView textView, float valu
528528
textView.setLetterSpacing(value);
529529
}
530530
}
531-
532-
public static void setBackground(android.view.View view, android.graphics.drawable.Drawable background) {
533-
if (version >= 16) {
534-
view.setBackground(background);
535-
} else {
536-
view.setBackgroundDrawable(background);
537-
}
538-
}
539531
}
540532

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.