Code example for AlertDialog.Builder

Methods: setAdapter

0
	 */ 
	@Override 
	protected void onPrepareDialogBuilder(Builder builder) {
		PaletteAdapter adapter = new PaletteAdapter(getContext(), this);
		 
		builder.setAdapter(adapter, this);
 
		super.onPrepareDialogBuilder(builder);
	} 
}