Back to project page MightyV.
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.
/** * /*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); } }