src/jpm/dg/Dialogs.java
/**
	 * Generates and shows a list adapter dialog, with an attached listener.
	 * 
	 * @param context
	 * @param title
	 * @param adapter
	 * @param listener
	 */
Generates and shows a list adapter dialog, with an attached listener.


Generates and shows a list adapter dialog with an attached listener .
public static void showAdapterDialog(Context context, String title,
			ListAdapter adapter, OnClickListener listener) {
		AlertDialog.Builder builder = new AlertDialog.Builder(context);
		builder.setTitle(title);
		builder.setAdapter(adapter, listener);
		builder.show();
	}
public static void showAdapterDialog ( Context context , String title , ListAdapter adapter , OnClickListener listener ) { AlertDialog . Builder builder = new AlertDialog . Builder ( context ) ; builder . setTitle ( title ) ; builder . setAdapter ( adapter , listener ) ; builder . show ( ) ; }
Generates and shows a list adapter dialog, with an attached listener.
Generates and shows a list adapter dialog with an attached listener .