Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public class RssGalleryAdapter extends BaseAdapter { private Context mContext; private List mItems = new ArrayList(); public RssGalleryAdapter(Context context) { mContext = context; } public void addItem(RssObject it) { mItems.add(it); } public void setListItems(List lit) { mItems = lit; } /** @return The number of items in the */ public int getCount() { return mItems.size(); } public Object getItem(int position) { return mItems.get(position); } public boolean areAllItemsSelectable() { return false; } /** Use the array index as a unique id. */ public long getItemId(int position) { return position; } public View getView(int position, View convertView, ViewGroup parent) { ImageView i; int selected = ((Gallery)parent).getSelectedItemPosition(); if (convertView == null) { i = new ImageView(this.mContext); } else { // Reuse/Overwrite the View passed // We are assuming(!) that it is castable! i = (ImageView) convertView; } i.setImageDrawable(mItems.get(position).getImage()); /* Image should be scaled as width/height are set. */ i.setScaleType(ImageView.ScaleType.CENTER); /* Set the Width/Height of the ImageView. */ float scale = getScale((position-selected)); i.setLayoutParams(new Gallery.LayoutParams(Math.round(90*scale),Math.round(60*scale))); return i; } public float getScale(int offset) { /* Formula: 1 / (2 ^ offset) */ return Math.max(0, 1.0f / (float)Math.pow(2, Math.abs(offset))); } }