Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Casanowow Life for love
VLC-Android
Commits
a954d4c7
Commit
a954d4c7
authored
Feb 24, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AudioBrowserListAdapter: fix the view recycling
parent
88ea254b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
...c/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
+2
-0
No files found.
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
View file @
a954d4c7
...
...
@@ -193,6 +193,7 @@ public class AudioBrowserListAdapter extends BaseAdapter {
holder
.
subtitle
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
subtitle
);
holder
.
footer
=
(
View
)
v
.
findViewById
(
R
.
id
.
footer
);
holder
.
more
=
(
ImageView
)
v
.
findViewById
(
R
.
id
.
item_more
);
holder
.
viewType
=
VIEW_MEDIA
;
v
.
setTag
(
holder
);
}
else
holder
=
(
ViewHolder
)
v
.
getTag
();
...
...
@@ -251,6 +252,7 @@ public class AudioBrowserListAdapter extends BaseAdapter {
holder
=
new
ViewHolder
();
holder
.
layout
=
v
.
findViewById
(
R
.
id
.
layout_item
);
holder
.
title
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
title
);
holder
.
viewType
=
VIEW_SEPARATOR
;
v
.
setTag
(
holder
);
}
else
holder
=
(
ViewHolder
)
v
.
getTag
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment