mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
fix: catches null value and prepares bundle appropriately adding single track to expected array list. closes #58
This commit is contained in:
parent
7d843390db
commit
4be0acf76c
3 changed files with 14 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ public class PlaylistChooserViewModel extends AndroidViewModel {
|
|||
private final PlaylistRepository playlistRepository;
|
||||
|
||||
private final MutableLiveData<List<Playlist>> playlists = new MutableLiveData<>(null);
|
||||
private ArrayList<Child> toAdd;
|
||||
private ArrayList<Child> toAdd = new ArrayList<>();
|
||||
|
||||
public PlaylistChooserViewModel(@NonNull Application application) {
|
||||
super(application);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue