Android Open Source - MightyV Select Show Dialog






From Project

Back to project page MightyV.

License

The source code is released under:

Apache License

If you think the Android project MightyV listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 * /*from   w  w w .j  a v a2 s.co m*/
 */
package com.indivisible.mightyv.dialogs;

import java.util.List;
import android.app.AlertDialog;
import android.content.Context;
import android.widget.ListView;
import com.indivisible.mightyv.data.Show;
import com.indivisible.mightyv.util.ShowArrayAdapter;


/**
 * @author indiv
 * 
 */
public class SelectShowDialog
        extends AlertDialog
{

    private String title = "Select a show";
    private ListView list;
    private ShowArrayAdapter adapter;


    public SelectShowDialog(Context context, List<Show> shows)
    {
        super(context);

        list = new ListView(context);
        adapter = new ShowArrayAdapter(context, shows);
        list.setAdapter(adapter);
        this.setView(list);
        this.setTitle(title);
    }


}




Java Source Code List

com.indivisible.mightyv.activities.ShowAddActivity.java
com.indivisible.mightyv.activities.ShowSearchActivity.java
com.indivisible.mightyv.activities.testing.TestEpisodes.java
com.indivisible.mightyv.activities.testing.TestMenu.java
com.indivisible.mightyv.activities.testing.TestSearch.java
com.indivisible.mightyv.activities.testing.TestShows.java
com.indivisible.mightyv.data.DBMediaOpenHelper.java
com.indivisible.mightyv.data.EpisodeDataSource.java
com.indivisible.mightyv.data.Episode.java
com.indivisible.mightyv.data.ShowDataSource.java
com.indivisible.mightyv.data.Show.java
com.indivisible.mightyv.dialogs.SearchShowEntryDialog.java
com.indivisible.mightyv.dialogs.SearchShowResultsDialog.java
com.indivisible.mightyv.dialogs.SelectShowDialog.java
com.indivisible.mightyv.fragments.EpisodeListFragment.java
com.indivisible.mightyv.fragments.ShowAddButtonsFragment.java
com.indivisible.mightyv.fragments.ShowListFragment.java
com.indivisible.mightyv.fragments.ShowRageSearchFragment.java
com.indivisible.mightyv.util.Convert.java
com.indivisible.mightyv.util.EpisodeArrayAdapter.java
com.indivisible.mightyv.util.MyLog.java
com.indivisible.mightyv.util.ShowArrayAdapter.java
com.tvrage.api.EpisodeListXMLParser.java
com.tvrage.api.SearchXMLParser.java
com.tvrage.api.XMLParser.java