diff --git a/app/src/main/java/com/magnatune/eyecreate/companionformagnatune/fragments/PlaylistFragment.java b/app/src/main/java/com/magnatune/eyecreate/companionformagnatune/fragments/PlaylistFragment.java new file mode 100644 index 0000000000000000000000000000000000000000..3b8b7c8c446a236981dd5b5986fd51346fc5e307 --- /dev/null +++ b/app/src/main/java/com/magnatune/eyecreate/companionformagnatune/fragments/PlaylistFragment.java @@ -0,0 +1,29 @@ +package com.magnatune.eyecreate.companionformagnatune.fragments; + +import android.os.Bundle; +import android.support.annotation.Nullable; +import android.support.v4.app.Fragment; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.ListView; + +import com.magnatune.eyecreate.companionformagnatune.R; +import com.magnatune.eyecreate.companionformagnatune.service.Playlist; + +public class PlaylistFragment extends Fragment { + + ListView playlistUI; + Playlist playlist; + + @Nullable + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + View v = inflater.inflate(R.layout.fragment_playlist, container, false); + playlistUI = (ListView) v.findViewById(R.id.list); + //TODO:finish getting UI set up. + return v; + } + + //TODO:put in functions for buttons to send to player service and try to keep updated to it's state. +} diff --git a/app/src/main/res/layout/fragment_playlist.xml b/app/src/main/res/layout/fragment_playlist.xml new file mode 100644 index 0000000000000000000000000000000000000000..1c88a2523c9a9bff21e0caee862fdb642414fcf5 --- /dev/null +++ b/app/src/main/res/layout/fragment_playlist.xml @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file