Skip to content

PlaylistViewModel: set proper context for provider

Duncan McNamara requested to merge Skantes/vlc-android:playlist-viewmodel into master

The PlaylistsViewModel getter would use the activity and not the fragment as context for the ViewModelProvider, so it would always return the same view model instance for different fragments.

Fixes #2860 (closed)

Merge request reports

Loading