Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
530
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
667cd08b
Commit
667cd08b
authored
5 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Fix build
parent
17fb15ab
No related branches found
No related tags found
No related merge requests found
Pipeline
#8587
failed with stage
Stage:
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt
+1
-1
1 addition, 1 deletion
vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt
with
1 addition
and
1 deletion
vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt
+
1
−
1
View file @
667cd08b
...
...
@@ -48,7 +48,7 @@ class StreamsModel(context: Context) : MedialibraryModel<AbstractMediaWrapper>(c
refresh
()
}
class
Factory
(
private
val
context
:
Context
)
:
ViewModelProvider
.
Factory
()
{
class
Factory
(
private
val
context
:
Context
)
:
ViewModelProvider
.
Factory
{
override
fun
<
T
:
ViewModel
>
create
(
modelClass
:
Class
<
T
>):
T
{
@Suppress
(
"UNCHECKED_CAST"
)
return
StreamsModel
(
context
.
applicationContext
)
as
T
...
...
This diff is collapsed.
Click to expand it.
Geoffrey Métais
@Dekans
mentioned in commit
a6c4f1a8
·
5 years ago
mentioned in commit
a6c4f1a8
mentioned in commit a6c4f1a8245295aee553beaed8a9973481b53d29
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