Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
42082e7b
Commit
42082e7b
authored
5 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Video groups: set default icon on view recycling
parent
72dfb780
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#9681
passed with stage
in 27 minutes and 57 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/videogroups/VideoGroupsAdapter.kt
+6
-0
6 additions, 0 deletions
...rc/org/videolan/vlc/gui/videogroups/VideoGroupsAdapter.kt
with
6 additions
and
0 deletions
vlc-android/src/org/videolan/vlc/gui/videogroups/VideoGroupsAdapter.kt
+
6
−
0
View file @
42082e7b
...
...
@@ -14,9 +14,11 @@ import org.videolan.libvlc.util.AndroidUtil
import
org.videolan.medialibrary.interfaces.media.AbstractVideoGroup
import
org.videolan.tools.MultiSelectAdapter
import
org.videolan.tools.MultiSelectHelper
import
org.videolan.vlc.BR
import
org.videolan.vlc.R
import
org.videolan.vlc.databinding.VideogroupItemBinding
import
org.videolan.vlc.gui.helpers.SelectorViewHolder
import
org.videolan.vlc.gui.helpers.UiTools
import
org.videolan.vlc.util.UPDATE_SELECTION
...
...
@@ -53,6 +55,10 @@ class VideoGroupsAdapter (val actor: SendChannel<VideoGroupAction>) : PagedListA
}
}
override
fun
onViewRecycled
(
holder
:
ViewHolder
)
{
holder
.
binding
.
setVariable
(
BR
.
cover
,
UiTools
.
getDefaultVideoDrawable
(
holder
.
itemView
.
context
))
}
@TargetApi
(
Build
.
VERSION_CODES
.
M
)
inner
class
ViewHolder
(
binding
:
VideogroupItemBinding
)
:
SelectorViewHolder
<
VideogroupItemBinding
>(
binding
)
{
init
{
...
...
This diff is collapsed.
Click to expand it.
Geoffrey Métais
@Dekans
mentioned in commit
ca8cc43a
·
5 years ago
mentioned in commit
ca8cc43a
mentioned in commit ca8cc43a7a1fd3440318f1d15fca940b5d5fdcea
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment