[Android] Set setViewBackground method private
Geoffrey Métais
git at videolan.org
Thu Sep 21 18:36:41 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Sep 21 18:25:30 2017 +0200| [9e32544243189fbe187a871066d627f4433a461f] | committer: Geoffrey Métais
Set setViewBackground method private
> https://code.videolan.org/videolan/vlc-android/commit/9e32544243189fbe187a871066d627f4433a461f
---
vlc-android/src/org/videolan/vlc/gui/helpers/SelectorViewHolder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/SelectorViewHolder.java b/vlc-android/src/org/videolan/vlc/gui/helpers/SelectorViewHolder.java
index 62f3e072e..8c97ba946 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/SelectorViewHolder.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/SelectorViewHolder.java
@@ -42,7 +42,7 @@ public class SelectorViewHolder<T extends ViewDataBinding> extends RecyclerView.
setViewBackground(itemView.hasFocus(), selected);
}
- public void setViewBackground(boolean focus, boolean selected) {
+ private void setViewBackground(boolean focus, boolean selected) {
final int color = focus ? UiTools.ITEM_FOCUS_ON : selected ? UiTools.ITEM_SELECTION_ON : UiTools.ITEM_FOCUS_OFF;
binding.setVariable(BR.bgColor, color);
}
More information about the Android
mailing list